1. 12 Sep, 2018 5 commits
    • Sergei Petrunia's avatar
      MDEV-17155: Incorrect ORDER BY optimization: full index scan is used instead of range · e63b84b9
      Sergei Petrunia authored
      The bug was this scenario:
      1. Join optimizer picks a range plan on index IDX1
         (This index doesn't match the ORDER BY clause, so sorting will be needed)
      2. Index Condition Pushdown pushes a part of WHERE down. The pushed
         condition is removed from SQL_SELECT::cond
      3. test_if_skip_sort_order() figures that it's better to use IDX2
         (as it will match ORDER BY ... LIMIT and so will execute faster)
      
      3.1 It sees that there was a possible range access on IDX2. It tries to
         construct it by calling SQL_SELECT::test_quick_select(), but alas,
         SQL_SELECT::cond doesn't have all parts of WHERE anymore.
         So it uses full index scan which is slow.
      
      (The execution works fine because there's code further in test_if_skip_sort_order()
      which "Unpushes" the index condition and restores the original WHERE clause.
      It was just the test_quick_select call that suffered).
      e63b84b9
    • Jan Lindström's avatar
      Update disabled Galera tests. · 038804d5
      Jan Lindström authored
      038804d5
    • Jan Lindström's avatar
      MDEV-17108: Test failure on galera.galera_kill_ddl · 794e89ed
      Jan Lindström authored
      Add suppression.
      794e89ed
    • Jan Lindström's avatar
      MDEV-13743: galera_toi_truncate may fail with: query 'reap' succeeded - should... · c76ee73d
      Jan Lindström authored
      MDEV-13743: galera_toi_truncate may fail with: query 'reap' succeeded - should have failed with errno 1213
      
      Replace sleep with debug sync point before insert commit to
      make sure insert is not executed before truncate has started.
      c76ee73d
    • mkaruza's avatar
      MDEV-15845 Test failure on galera.galera_concurrent_ctas · 16384fae
      mkaruza authored
      While executing CTAS galera applier thread can cause CTAS to abort and rollback. Rollback can take time causing applier thread to shutdown node after serial unsuccessful retries to apply transaction. Don't set lock_wait_timeout to zero to wait for lock.
      16384fae
  2. 11 Sep, 2018 2 commits
  3. 10 Sep, 2018 1 commit
  4. 09 Sep, 2018 1 commit
  5. 08 Sep, 2018 2 commits
  6. 07 Sep, 2018 7 commits
  7. 06 Sep, 2018 7 commits
  8. 05 Sep, 2018 4 commits
    • Sergei Golubchik's avatar
      MDEV-16465 Invalid (old?) table or database name or hang in... · 0ccba62d
      Sergei Golubchik authored
      MDEV-16465 Invalid (old?) table or database name or hang in ha_innobase::delete_table and log semaphore wait upon concurrent DDL with foreign keys
      
      lowercase db and table names before prelocking.
      
      Post-fix for 9180e866
      
      This fixes failures on main.lowercase_table4 on Windows
      0ccba62d
    • Sergey Vojtovich's avatar
      MDEV-16757 Memory leak after adding manually min/max statistical data · 4cf75706
      Sergey Vojtovich authored
                 for blob column
      
      Moved delete_stat_values_for_table_share() call to proper place.
      4cf75706
    • Jan Lindström's avatar
      Galera test case cleanups. · 6695fcea
      Jan Lindström authored
      6695fcea
    • Jan Lindström's avatar
      MDEV-15436: If log_bin and log_bin_index is different SST with rsync fails. · b44b9f71
      Jan Lindström authored
      Problem was that in SST log_bin_index name and directory was not
      handled and passed to rsync SST script.
      
      wsrep_sst_common.sh
      	Read binlog index dirname and filename if --binlog-index
      	parameter is provided. Read binlog filenames from that file
      	from donor and write transfered binlog filenames to that
      	file in joiner.
      
      mysqld.cc, mysqld.h
      	Moved opt_binlog_index_name from static to global and added
      	it to extern.
      
      wsrep_sst.cc
      
      generate_binlog_index_opt_val
      	New function to generate binlog index name if opt_binlog_index_name is
      	given on configuration.
      
      sst_prepare_other
      	Add binlog index configuration to SST command.
      
      wsrep_sst.h
      	Add new SST parameter --binlog-index
      
      Add test case.
      b44b9f71
  9. 04 Sep, 2018 11 commits