1. 23 Feb, 2019 2 commits
  2. 22 Feb, 2019 1 commit
    • Marko Mäkelä's avatar
      MDEV-10813: Update buf_page_t::buf_fix_count outside mutex · 2c8d9a4e
      Marko Mäkelä authored
      Since MySQL 5.6.16 (and MariaDB Server 10.0.11), changes of
      buf_page_t::buf_fix_count are atomic memory operations if
      PAGE_ATOMIC_REF_COUNT is defined. Since MySQL 5.7
      (and MariaDB Server 10.2.2), the field is always updated
      by atomic memory operations.
      
      In a few occurrences, updates of the counter were unnecessarily
      surrounded by an acquisition and release of the block mutex
      (buf_block_t::mutex or buf_pool_t::zip_mutex). Remove these
      unnecessary mutex operations.
      2c8d9a4e
  3. 20 Feb, 2019 1 commit
  4. 19 Feb, 2019 8 commits
  5. 18 Feb, 2019 3 commits
  6. 14 Feb, 2019 1 commit
  7. 13 Feb, 2019 3 commits
  8. 12 Feb, 2019 2 commits
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 8a9cdc5f
      Marko Mäkelä authored
      8a9cdc5f
    • Julius Goryavsky's avatar
      MDEV-18426: Most of the mtr tests in the galera_3nodes suite fail · 5b827511
      Julius Goryavsky authored
      Most of the mtr tests in the galera_3nodes suite fail
      for a variety of reasons with a variety of errors.
      
      This patch fixes several substantial flaws
      in the galera_3nodes suite tests and in the mtr framework
      service files, adapting the tests from galera_3nodes
      for the current version of MariaDB.
      
      This patch also synchronizes some galera_3nodes-related
      files with the latest changes made for MDEV-17835 (v2 patch)
      and for MDEV-18379 in other branches (10.2 and 10.3).
      
      Closes #1161
      5b827511
  9. 11 Feb, 2019 3 commits
  10. 09 Feb, 2019 2 commits
  11. 08 Feb, 2019 2 commits
  12. 07 Feb, 2019 5 commits
  13. 06 Feb, 2019 4 commits
  14. 05 Feb, 2019 3 commits
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · e84dc567
      Marko Mäkelä authored
      e84dc567
    • Marko Mäkelä's avatar
      MDEV-15798 Mutex leak on accessing INFORMATION_SCHEMA.INNODB_MUTEXES · 5eb3e4d8
      Marko Mäkelä authored
      i_s_innodb_mutexes_fill_table(): Use the C++ RAII pattern
      to ensure that the mutexes are released if an OK()
      macro returns from the function prematurely.
      5eb3e4d8
    • Marko Mäkelä's avatar
      MDEV-16982 Server crashes in mem_heap_dup upon DELETE from table with virtual columns · 625994b7
      Marko Mäkelä authored
      An uninitialized buffer is passed to row_sel_store_mysql_rec() but
      InnoDB may not initialize everything. Looks like it's ok in most cases
      but not always.
      The partially initialized buffer was later passed to
      ha_innobase::write_row() which reads random NULL bit values for
      virtual columns and random stuff happens.
      
      No test case for MariaDB 10.2 was found.
      The test case for MariaDB 10.3 involves partitioning,
      system versioning and the TRASH_ALLOC fill pattern 0xA5.
      Test case depends very much on the number and layout of columns.
      Think about 0xA5 byte for a NULL bit mask.
      
      row_sel_store_mysql_rec(): always initialize virtual columns NULL bit
      
      Closes #1144
      625994b7