1. 25 Jul, 2019 1 commit
  2. 24 Jul, 2019 3 commits
  3. 22 Jul, 2019 2 commits
  4. 19 Jul, 2019 1 commit
    • Marko Mäkelä's avatar
      MDEV-20048 Assertion 'n < tuple->n_fields on ROLLBACK after DROP COLUMN · 09e9f884
      Marko Mäkelä authored
      btr_push_update_extern_fields(): Add a parameter for the original number
      of fields in the record before btr_cur_trim(). Assume that this function
      will only be called for the clustered index, which is the only index
      that can contain off-page columns.
      
      trx_undo_prev_version_build(), btr_cur_pessimistic_update():
      Only invoke btr_push_update_extern_fields() for the clustered index.
      09e9f884
  5. 18 Jul, 2019 3 commits
  6. 17 Jul, 2019 1 commit
    • Julius Goryavsky's avatar
      MDEV-18565: Galera mtr-suite fails if galera library is not installed · f5390eea
      Julius Goryavsky authored
      Currently, running mtr with an incorrect (for example, new or
      obsolete) version of wsrep_provider (for example, with the 26
      version of libgalera_smm.so) leads to the failure of tests in
      several suites with vague error diagnostics.
      
      As for the galera_3nodes suite, the mtr also does not effectively
      check all the prerequisites after merge with MDEV-18426 fixes.
      For example, tests that using mariabackup do not check for presence
      of ss and socat/nc. This is due to improper handling of relative
      paths in mtr scripts.
      
      In addition, some tests in different suites can be run without
      setting the environment variables such as MTR_GALERA_TFMT, XBSTREAM,
      and so on.
      
      To eliminate all these issues, this patch makes the following changes:
      
      1. Added auxiliary wsrep_mtr_check utility (which located in the
      mysql-test/lib/My/SafeProcess subdirectory), which compares the
      versions of the wsrep API that used by the server and by the wsrep
      provider library, and it does this comparison safely, without
      accessing the API if the versions do not match.
      
      2. All checks related to the presence of mariabackup and utilities
      that necessary for its operation transferred from the local directories
      of different mtr suites (from the suite.pm files) to the main suite.pm
      file. This not only reduces the amount of code and eliminates duplication
      of identical code fragments, but also avoids problems due to the inability
      of mtr to consider relative paths to include files when checking skip
      combinations.
      
      3. Setting the values of auxiliary environment variables that
      are necessary for Galera, SST scripts and mariabackup (to work
      properly) is moved to the main mysql-test-run.pl script, so as
      not to duplicate this code in different suites, and to avoid
      partial corrections of the same errors for different suites
      (while other suites remain uncorrected).
      
      4. Fixed duplication of the have_file_key_management.inc and
      have_filekeymanagement.inc files between different suites,
      these checks are also transferred to the top level.
      
      5. Added garbd presence check and garbd path variable.
      
      https://jira.mariadb.org/browse/MDEV-18565
      f5390eea
  7. 16 Jul, 2019 2 commits
  8. 15 Jul, 2019 1 commit
    • Teemu Ollakka's avatar
      Wsrep crash caused by COM_CHANGE_USER, COM_RESET_CONNECTION (#1358) · 61cc9327
      Teemu Ollakka authored
      COM_CHANGE_USER and COM_RESET_CONNECTION commands cause
      THD::cleanup() to be called in the middle of command handling.
      This causes wsrep client_state sanity checks to fail.
      
      As a fix, temporarily close wsrep client_state before THD::change_user()
      is called when handling COM_CHANGE_USER and COM_RESET_CONNECTION,
      and restore the state after THD::change_user() returns.
      
      This commit also updates wsrep-lib to version which removes
      exception usage in wsrep client_state sanity checks.
      61cc9327
  9. 10 Jul, 2019 1 commit
  10. 09 Jul, 2019 1 commit
  11. 08 Jul, 2019 4 commits
  12. 06 Jul, 2019 3 commits
  13. 05 Jul, 2019 3 commits
  14. 04 Jul, 2019 1 commit
    • Eugene Kosov's avatar
      MDEV-19951 use override keyword across the InnoDB · 23c12ed5
      Eugene Kosov authored
      Use on every virtual function override.
      
      ha_innobase: mark a final
      
      ha_innobase::bas_ext(): remove as unused
      
      ha_innobase::get_cascade_foreign_key_table_list: remove as unused
      
      ha_innobase::end_stmt(): merge into ha_innobase::reset()
      23c12ed5
  15. 03 Jul, 2019 1 commit
  16. 02 Jul, 2019 12 commits