1. 10 Feb, 2016 3 commits
    • Daniele Sciascia's avatar
      refs codership/mysql-wsrep#201 · 484bbd33
      Daniele Sciascia authored
      Manually merged query cache fixes from
      97c02faf0a39dd189eeda4f75fb35bc5db69d541.
      484bbd33
    • Daniele Sciascia's avatar
      refs codership/mysql-wsrep#201 · 0c7dffe9
      Daniele Sciascia authored
      - Eliminates code duplication in query cache patch
      - Reduces the number of iterations in mysql-wsrep#201.test
        to shorten the execution time
      - Adds a new test case that exercises more scenarios
      0c7dffe9
    • Daniele Sciascia's avatar
      refs codership/mysql-wsrep#201 · 8a71fde0
      Daniele Sciascia authored
      - Fixes query cache so that it is aware of wsrep_sync_wait.
        Query cache would return (possibly stale) results to the
        client, regardless of the value of wsrep_sync_wait.
      - Includes the test case that reproduced the issue.
      8a71fde0
  2. 22 Dec, 2015 1 commit
  3. 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
  4. 10 Dec, 2015 1 commit
  5. 09 Dec, 2015 7 commits
  6. 08 Dec, 2015 9 commits
  7. 07 Dec, 2015 10 commits
  8. 05 Dec, 2015 1 commit
  9. 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
  10. 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
  11. 20 Nov, 2015 1 commit
  12. 18 Nov, 2015 2 commits