1. 21 Mar, 2020 2 commits
    • Sergey Vojtovich's avatar
      4d9977e5
    • Daniele Sciascia's avatar
      MDEV-21675: Data inconsistency after multirow insert rollback (#1474) · 9394cc89
      Daniele Sciascia authored
      * Remove dead code
      
      * MDEV-21675 Data inconsistency after multirow insert rollback
      
      This patch fixes data inconsistencies that happen after rollback of
      multirow inserts, with binlog disabled.
      For example, statements such as `INSERT INTO t1 VALUES (1,'a'),(1,'b')`
      that fail with duplicate key error. In such cases the whole statement
      is rolled back. However, with wsrep_emulate_binlog in effect, the
      IO_CACHE would not be truncated, and the pending rows events would be
      replicated to the rest of the cluster. In the above example, it would
      result in row (1,'a') being replicated, whereas locally the statement
      is rolled back entirely. Making the cluster inconsistent.
      The patch changes the code so that prior to statement rollback,
      pending rows event are removed and the stmt cache reset.
      That patch also introduces MTR tests that excercise multirow insert
      statements for regular, and streaming replication.
      9394cc89
  2. 20 Mar, 2020 10 commits
  3. 19 Mar, 2020 8 commits
  4. 18 Mar, 2020 5 commits
  5. 17 Mar, 2020 8 commits
    • Monty's avatar
      Updated aria_pack to support transactional tables · dbde95d9
      Monty authored
      Added options:
      --datadir
      --ignore-control-file
      --require-control-file
      
      - Improved error messages if open fails
      - If control file can't be found/opened, assume that all rows in the
        tables are commited.
      dbde95d9
    • Marko Mäkelä's avatar
      MDEV-20370 Crash after OPTIMIZE TABLE on TEMPORARY TABLE · ab0034a7
      Marko Mäkelä authored
      Temporary tables are typically short-lived, and temporary tables
      are assumed to be accessed only by the thread that is handling
      the owning connection. Hence, they must not be subject to
      defragmenting.
      
      ha_innobase::optimize(): Do not add temporary tables to
      the defragment_table() queue.
      ab0034a7
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-14808 innodb_fts.sync fails in buildbot with wrong result · e61b9907
      Thirunarayanan Balathandayuthapani authored
      AUTO_INCREMENT values are nondeterministic after crash recovery.
      While MDEV-6076 guarantees that the AUTO_INCREMENT values of committed
      transactions will not roll back, it is possible that the AUTO_INCREMENT
      values will be durably incremented for incomplete transactions. So
      changing the test case to avoid showing the result of AUTO_INCREMENT value.
      e61b9907
    • Monty's avatar
      Fixed that caused failure in --ps binlog_encryption.rpl_gtid_basic · 517f659e
      Monty authored
      Problem was that replace_dynstr_append_mem() assumed strings are
      null terminated which is not always the case.
      517f659e
    • Alexey Botchkov's avatar
      MDEV-21959 GIS error message doesn't show the wrong value, just the type. · e64a3df4
      Alexey Botchkov authored
      Error message now shows the whole value.
      e64a3df4
    • Marko Mäkelä's avatar
      MDEV-10570: Fix -Wmaybe-uninitialized · 89698cef
      Marko Mäkelä authored
      Rows_log_event::change_to_flashback_event(): Reduce the scope
      of the variable swap_buff2, and do not duplicate conditions.
      
      GCC 9.3.0 flagged the -Wmaybe-uninitialized when compiling the
      10.5 branch using cmake -DWITH_ASAN=ON -DCMAKE_CXX_FLAGS=-O2
      89698cef
    • Igor Babaev's avatar
      MDEV-21932 A fast plan with ROR index-merge is ignored when · a2d24def
      Igor Babaev authored
                 'index_merge_sort_union=off'
      
      When index_merge_sort_union is set to 'off' and  index_merge_union is set
      to 'on' then any evaluated index merge scan must consist only of ROR scans.
      The cheapest out of such index merges must be chosen. This index merge
      might not be the cheapest index merge.
      a2d24def
    • Monty's avatar
      Removed double records_in_range calls from multi_range_read_info_const · 1242eb3d
      Monty authored
      This was to remove a performance regression between 10.3 and 10.4
      In 10.5 we will have a better implementation of records_in_range
      that will enable us to get more statistics.
      This change was not done in 10.4 because the 10.5 will be part of
      a larger change that is not suitable for the GA 10.4 version
      
      Other things:
      - Changed default handler block_size to 8192 to fix things statistics
        for engines that doesn't set the block size.
      - Fixed a bug in spider when using multiple part const ranges
        (Patch from Kentoku)
      1242eb3d
  6. 16 Mar, 2020 7 commits