1. 19 Apr, 2018 4 commits
    • Marko Mäkelä's avatar
      Merge 10.2 to 10.3 · d71a8855
      Marko Mäkelä authored
      Temporarily disable main.cte_recursive due to hang in
      an added test related to MDEV-15575.
      d71a8855
    • Sachin Setiya's avatar
      Mdev-10664 Add statuses about optimistic parallel replication stalls · 419385db
      Sachin Setiya authored
      In this commit we are adding three more status variable to SHOW SLAVE
      STATUS.  Slave_DDL_Events and Slave_Non_Transactional_Events.
      
      Slave_DDL_Groups:- This status variable counts the occurrence of DDL
      statements
      
      Slave_Non_Transactional_Groups:- This variable count the occurrence
      of non-transnational event group.
      
      Slave_Transactional_Groups:- This variable count the occurrence
      of transnational event group.
      
      Patch Credit:- Kristian Nielsen
      419385db
    • Sachin Setiya's avatar
      MDEV-12924 No --innodb-numa-interleave in mysqld binaries · 547b00d9
      Sachin Setiya authored
      It changes the cmake WITH_NUMA option to have 3 values
      Auto:- If libnuma present compile with numa (Default value)
      OFF:- Compile without libnuma
      On:- Compile with numa , throw error if libnuma not present
      
      Patch Contributer:- Vesa
      Patch Reviewer:- serg
      547b00d9
    • Sachin Setiya's avatar
      MDEV-15754 Server crashes in fill_record_n_invoke_before_triggers upon ... · dde0ba5a
      Sachin Setiya authored
      insert into table with TIMESTAMP INVISIBLE
      
      Problem:- The segfault occurs because value is null but since timestamp field
      is VISIBLE it expects a value , and it tries to call value->save_in_field(..
      Timestamp field should not be visible this is the problem.
      
      Solution:- While we clone field for record0_field we don't honor the field
      _visibility , this patch changes that.
      dde0ba5a
  2. 18 Apr, 2018 4 commits
  3. 17 Apr, 2018 4 commits
  4. 16 Apr, 2018 14 commits
  5. 15 Apr, 2018 2 commits
    • Marko Mäkelä's avatar
      MDEV-15871 Crash in btr_search_build_page_hash_index() · f0e4f94c
      Marko Mäkelä authored
      When skipping the MDEV-11369 'default row' record, check again
      for an empty page.
      f0e4f94c
    • Marko Mäkelä's avatar
      MDEV-13697 DB_TRX_ID is not always reset · 97e51d24
      Marko Mäkelä authored
      The rollback of the modification of a pre-existing record
      should involve a purge-like operation. Before MDEV-12288
      the only purge-like operation was the removal of a
      delete-marked record.
      
      After MDEV-12288, any rollback of updating an existing record
      must reset the DB_TRX_ID column when it is no longer visible
      in the purge read view.
      
      row_vers_must_preserve_del_marked(): Remove. It is cleaner to
      perform the check directly in row0umod.cc.
      
      row_trx_id_offset(): Auxiliary function to retrieve the byte
      offset of DB_TRX_ID in a clustered index leaf page record.
      
      row_undo_mod_must_purge(): Determine if a record should be purged.
      
      row_undo_mod_clust(): For temporary tables, skip the purge checks.
      When rolling back an update so that the original record was not
      delete-marked, reset DB_TRX_ID if the history is no longer visible.
      97e51d24
  6. 14 Apr, 2018 2 commits
  7. 13 Apr, 2018 8 commits
  8. 12 Apr, 2018 2 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
    • Sergei Golubchik's avatar
      ./mtr --client-gdb · 479fb6c1
      Sergei Golubchik authored
      followup for 339b9055
      
      don't use $opt_gdb for --client-gdb
      479fb6c1