1. 14 1月, 2023 6 次提交
  2. 13 1月, 2023 3 次提交
  3. 12 1月, 2023 1 次提交
  4. 10 1月, 2023 3 次提交
  5. 09 1月, 2023 2 次提交
    • S
      test(mtr): add some mtr test cases(#497) · 67b5c207
      shizhao 提交于
      [summary]
      add mtr test cases about unsigned/escape/replace into/zerofill
      67b5c207
    • H
      fix: incorrect result when executed insert into t select with ... #1182 · 562afcb9
      hustjieke 提交于
      [summary]
      The root cause:
      before: we used "*reinterpret_cast<int64_t *>(field->ptr)" to store value from longlong, it will make "ptr" little-endian bytes order and will get wrong value when used Field_bit::val_int() to get bit value back. "val_int()" parse data according big-endian bytes order.
      
      after fix: we use "type_conversion_status Field_bit::store(longlong nr, bool unsigned_val)" to store longlong val. Stored in big-endian bytes order.
      
      When do insert ... select .../create ... select/update or delete in primary-secondary synchronization, the function next will be called:
      ---
       static void do_field_int(Copy_field *copy)
       {
         longlong value= copy->from_field()->val_int();---->here that make the data uncorrect when parsing data stored in little-endian in field->ptr
         copy->to_field()->store(value,
                                 MY_TEST(copy->from_field()->flags & UNSIGNED_FLAG));
       }
      ---
      562afcb9
  6. 05 1月, 2023 13 次提交
  7. 03 1月, 2023 5 次提交
  8. 30 12月, 2022 5 次提交
  9. 28 12月, 2022 2 次提交