1. 16 Apr, 2018 3 commits
    • Igor Babaev's avatar
      MDEV-15575 different results when using CTE and big_tables=1. · 224f7af9
      Igor Babaev authored
      This bug happened due to a defect of the implementation of the handler
      function ha_delete_all_rows() for the ARIA engine.
      The function maria_delete_all_rows() truncated the table, but it didn't
      touch the write cache, so the cache's write offset was not reset.
      In the scenario like in the function st_select_lex_unit::exec_recursive
      when first all records were deleted from the table and then several new
      records were added some metadata became inconsistent with the state of
      the cache. As a result the table scan function could not read records
      at the end of the table.
      The same defect could be found in the implementation of ha_delete_all_rows()
      for the MYISAM engine mi_delete_all_rows().
      
      Additionally made late instantiation for the temporary table used to store
      rows that were used for each new iteration when executing a recursive CTE.
      224f7af9
    • Sergei Golubchik's avatar
      MDEV-15866 Mysql CRASH : Json connect + MariaDB 10.3.4 · 87af52d7
      Sergei Golubchik authored
      revert incorrect change
      87af52d7
    • Jan Lindström's avatar
      Merge pull request #665 from codership/10.2-fix-mtr-wait · 29d4ac2c
      Jan Lindström authored
      Fix mtr to be able to wait for >1 exited mysqld
      29d4ac2c
  2. 14 Apr, 2018 2 commits
  3. 13 Apr, 2018 3 commits
  4. 12 Apr, 2018 5 commits
    • Sergei Petrunia's avatar
      MDEV-14460: Memory leak with only SELECT statements · d13e3547
      Sergei Petrunia authored
      Cherry-pick this fix from the upstream:
      commit 6ddedd8f1e0ddcbc24e8f9a005636c5463799ab7
      Author: Sergei Petrunia <psergey@askmonty.org>
      Date:   Tue Apr 10 11:43:01 2018 -0700
      
          [mysql-5.6][PR] Issue #802: MyRocks: Statement rollback doesnt work correctly for nes…
      
          Summary:
          …ted statements
      
          Variant #1: When the statement fails, we should roll back to the latest
          savepoint taken at the top level.
          Closes https://github.com/facebook/mysql-5.6/pull/804
      
          Differential Revision: D7509380
      
          Pulled By: hermanlee
      
          fbshipit-source-id: 9a6f414
      d13e3547
    • Jacob Mathew's avatar
      MDEV-15692: install_spider.sql can fail with some collations · 12e2d039
      Jacob Mathew authored
      The error occurs because of how the character set and collation are chosen for
      stored procedure parameters that have a character data type.  If the character
      set and collation are not explicitly stated in the declaration, the server
      chooses the database character set and collation in effect at routine creation
      time.
      
      To fix the problem, I added explicit character set and collation attributes
      for the stored procedure parameters in the install_spider.sql script.
      
      Author:
        Jacob Mathew.
      
      Reviewer:
        Kentoku Shiba.
      
      Cherry-Picked:
        Commit ff0bf451 on bb-10.3-MDEV-15692
      12e2d039
    • Jan Lindström's avatar
      MDEV-12632: Source and destination overlap in memcpy,... · 36c01167
      Jan Lindström authored
      MDEV-12632: Source and destination overlap in memcpy, encryption.innodb-discard-import-change fails in buildbot with valgrind
      
      Problem was that if tablespace was encrypted we try to copy
      also page 0 from read buffer to write buffer that are in
      that case the same memory area.
      
      fil_iterate
      	When tablespace is encrypted or compressed its
              first page (i.e. page 0) is not encrypted or
      	compressed and there is no need to copy buffer.
      36c01167
    • Jan Lindström's avatar
      MDEV-12903: encryption.innodb_encryption_discard_import fails in buildbot with FOUND vs NOT FOUND · 2f1f1609
      Jan Lindström authored
      Wait until rotation has ended and shutdown before grep to make sure
      that dirty pages are on datafiles.
      2f1f1609
    • Vicențiu Ciorbaru's avatar
      Use same connection convention of specifying IPs · 93aded05
      Vicențiu Ciorbaru authored
      If we use hostnames, it will fail during name resolution on UNIX systems
      93aded05
  5. 11 Apr, 2018 3 commits
  6. 10 Apr, 2018 7 commits
  7. 09 Apr, 2018 7 commits
  8. 08 Apr, 2018 4 commits
    • Vladislav Vaintroub's avatar
      MDEV-15707 : deadlock in Innodb IO code, caused by change buffering. · 7b16291c
      Vladislav Vaintroub authored
      In async IO completion code, after reading a page,Innodb can wait for
      completion of other bufferpool reads.
      This is for example what happens if change-buffering is active.
      
      Innodb on Windows could deadlock, as it did not have dedicated threads
      for processing change buffer asynchronous reads.
      
      The fix for that is to have windows now has the same background threads,
      including dedicated thread for ibuf, and log AIOs.
      
      The ibuf/read completions are now dispatched to their threads with
      PostQueuedCompletionStatus(), the write and log completions are processed
      in thread where they arrive.
      7b16291c
    • Jan Lindström's avatar
      MDEV-13549: Galera test failures · 8bb40f24
      Jan Lindström authored
      Disable more occasionally failing test cases.
      	galera.galera_lock_table
      	galera.galera_gra_log
      	galera.MW-44
      	galera.lp1376747
      	galera.lp1376747-2
      	galera.galera_pc_ignore_sb
      8bb40f24
    • Jan Lindström's avatar
      MDEV-15806: Test failure on galera.galera_parallel_simple · 1568950a
      Jan Lindström authored
      Make sure DDL's (create tables) are replicated before continuing to
      lock table.
      1568950a
    • Jan Lindström's avatar
      MDEV-13549: Galera test failures · c4b1a57b
      Jan Lindström authored
      Disable occasionally failing test cases
      	pxc-421
      	query_cache
      	galera_parallel_simple
      c4b1a57b
  9. 07 Apr, 2018 6 commits