1. 17 Dec, 2015 1 commit
    • Nirbhay Choubey's avatar
      MDEV-9290 : InnoDB: Assertion failure in file trx0sys.cc line 353 · 3f515a09
      Nirbhay Choubey authored
      As a fix for MDEV-8208, for initial wsrep threads, the
      invocation of init_for_queries() was moved after plugins
      were initialized. Due to which, OPTION_BEGIN bit of wsrep
      applier THD (originally set in wsrep_replication_process)
      got reset due to implicit commit within init_for_queries().
      As a result, events from a multi-statement transaction from
      another node were committed separately by the applier thread,
      which leads to an assertion as they all carry same seqno.
      
      Fixed by making sure that variable.option_bits are restored
      post init_for_queries(). Also restored server_status.
      Added a test case.
      3f515a09
  2. 10 Dec, 2015 1 commit
  3. 09 Dec, 2015 7 commits
  4. 08 Dec, 2015 9 commits
  5. 07 Dec, 2015 10 commits
  6. 05 Dec, 2015 1 commit
  7. 04 Dec, 2015 1 commit
    • Jan Lindström's avatar
      MDEV-9233: Copying MySQL 5.5 data directory to 10.0 with partition tables crashes on insert · 082b859d
      Jan Lindström authored
      Analysis: There were two problems. (1) if partition table was
      created using lower_case_tables = 1 on windows we did find the
      correct table but we did not set share->ib_table correctly.
      (2) we did open table on dictionary but did not increase
      mysql_open_tables.
      
      Fix: In xtradb allow access to tables with incorrect
      lower case names (warning is printed to error log). If
      table is opened increase mysql_open_tables count to avoid
      crash on flush tables.
      082b859d
  8. 03 Dec, 2015 3 commits
    • Alexander Barkov's avatar
      MDEV-8630 Datetime value dropped in "INSERT ... SELECT ... ON DUPLICATE KEY" · d87bc55b
      Alexander Barkov authored
      Item_func_coalesce::fix_length_and_dec() calls
      Item_func::count_string_result_length()) which called agg_arg_charsets()
      with wrong flags, so the collation derivation of the COALESCE result was
      not properly set to DERIVATION_COERCIBLE. It erroneously stayed
      DERIVATION_NUMERIC. So GREATEST() misinterpreted the argument as
      a number rather that a string and did not calculate its own length properly.
      d87bc55b
    • Sergey Vojtovich's avatar
      MDEV-9001 - [PATCH] Fix DB name quoting in mysqldump --routine · 9f07c6b3
      Sergey Vojtovich authored
      mysqldump --routine fails to dump databases containing backslash ("\")
      character. This happened because escaped database name was being used as an
      identifier while changing current database. Such identifers are not supposed
      to be escaped, they must be properly quoted instead.
      9f07c6b3
    • Jan Lindström's avatar
      MDEV-7762 InnoDB: Failing assertion: block->page.buf_fix_count > 0 in buf0buf.ic line 730 · 33589b25
      Jan Lindström authored
      Analysis: debug only assertion I_S function (IS is XtraDB feature) is calling
      buf_block_get_frame on any page it reads, which debug-asserts that the page is
      buffer-fixed, which is not the case in I_S query.
      
      Fixed by holding the buffer page mutex while the fields are read directly.
      33589b25
  9. 20 Nov, 2015 1 commit
  10. 18 Nov, 2015 2 commits
  11. 17 Nov, 2015 1 commit
  12. 09 Nov, 2015 2 commits
  13. 07 Nov, 2015 1 commit