1. 25 Apr, 2019 7 commits
    • Marko Mäkelä's avatar
      Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT DEPENDING ON ALGORITHM · 1cd31bc1
      Marko Mäkelä authored
      For partitioned table, ensure that the AUTO_INCREMENT values will
      be assigned from the same sequence. This is based on the following
      change in MySQL 5.6.44:
      
      commit aaba359c13d9200747a609730dafafc3b63cd4d6
      Author: Rahul Malik <rahul.m.malik@oracle.com>
      Date:   Mon Feb 4 13:31:41 2019 +0530
      
          Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT DEPENDING ON ALGORITHM
      
          Problem:
          When a partition table is in-place altered to add an auto-increment column,
          then its values are starting over for each partition.
      
          Analysis:
          In the case of in-place alter, InnoDB is creating a new sequence object
          for each partition. It is default initialized. So auto-increment columns
          start over for each partition.
      
          Fix:
          Assign old sequence of the partition to the sequence of next partition
          so it won't start over.
      
          RB#21148
          Reviewed by Bin Su <bin.x.su@oracle.com>
      1cd31bc1
    • Marko Mäkelä's avatar
      Clean up ib_sequence::m_max_value · 9e7bcb05
      Marko Mäkelä authored
      Correctly document the usage of m_max_value. Remove the const
      qualifier, so that the implicit assignment operator can be used.
      Make all members of ib_sequence private, and add an accessor
      member function max_value().
      9e7bcb05
    • Marko Mäkelä's avatar
      Bug#19811005: Add a simple test case · ac97ad4e
      Marko Mäkelä authored
      ac97ad4e
    • Aakanksha Verma's avatar
      Bug #19811005 ALTER TABLE ADD INDEX DOES NOT UPDATE INDEX_LENGTH IN I_S TABLES · 3ae21984
      Aakanksha Verma authored
      PROBLEM
       =======
      An add index doesn't update index length stats in information schema
      TABLES table.
      
      FIX
       ===
      Update the dict_table_t variable with index length stats that is
      actually calculated post alter . As this variable is used to populated
      the information schema index length statistics.
      
      Reviewed by: Bin su<bin.x.su@oracle.com>
      RB: 21277
      3ae21984
    • Alexander Barkov's avatar
      MDEV-18452 ASAN unknown-crash in Field::set_default upon SET bit_column = DEFAULT · bb17094b
      Alexander Barkov authored
      Field_bit for BIT(20) uses 2 full bytes in the record,
      with additional 4 uneven bits in the "null bit area".
      
      Field::set_default() called from Field_bit::set_default() erroneously
      copied 3 bytes instead of 2 bytes from the record with default values.
      
      Changing Field::set_default() to copy pack_length_in_rec() bytes
      instead of pack_length() bytes.
      bb17094b
    • Marko Mäkelä's avatar
      5.6.43-84.3 · ecea9087
      Marko Mäkelä authored
      ecea9087
    • Zsolt Parragi's avatar
      PS-4989: Fixing innodb_track_changed_pages debug validation · 83d8c38d
      Zsolt Parragi authored
      In debug builds, this setting is allowed to be turned off temporarily after it was
      turned on during startup. Howewer memory garbage also caused it to be accidentally
      turned on when it was disabled at startup.
      83d8c38d
  2. 24 Apr, 2019 16 commits
  3. 23 Apr, 2019 4 commits
  4. 22 Apr, 2019 3 commits
  5. 19 Apr, 2019 1 commit
  6. 18 Apr, 2019 1 commit
    • Sergei Petrunia's avatar
      MDEV-17297: stats.records=0 for a table of Archive engine when it has rows,... · 056b6fe1
      Sergei Petrunia authored
      MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, when we run ANALYZE command
      
      Archive storage engine assumed that any query that attempts to read from
      the table will call ha_archive::info() beforehand. ha_archive would flush
      un-written data in that call (this would make it visible for the reads).
      
      Break this assumption. Flush the data when the table is opened for reading.
      
      This way, one can do multiple write statements without causing a flush, but
      as soon as we might need the data, we flush it.
      056b6fe1
  7. 17 Apr, 2019 1 commit
  8. 11 Apr, 2019 1 commit
  9. 05 Apr, 2019 1 commit
  10. 04 Apr, 2019 5 commits