1. 21 Sep, 2018 7 commits
  2. 20 Sep, 2018 3 commits
    • Vladislav Vaintroub's avatar
      Windows : Fix application verifier errors. · c139dc6d
      Vladislav Vaintroub authored
      Make different threads that are running data_copy_thread_func()
      use the same pthread_mutex for locking (not the copies of the same
      pthread_mutex_t).
      c139dc6d
    • Vladislav Vaintroub's avatar
      Amend fix for MDEV-17236 · 0fa35ddf
      Vladislav Vaintroub authored
      Simplify, and make it work with system tablespace outside of
      innodb data home.
      
      Also, do not reread TRX_SYS page  in endless loop,
      if it appears to be corrupted.
      
      Use finite number of attempts.
      0fa35ddf
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-17236 mariabackup incorrectly tries to open ibdata1 · 7e4bbd3a
      Thirunarayanan Balathandayuthapani authored
      		if custom undo tablespace is defined
      
      - In case of multiple undo tablespace, mariabackup have to open system
      tablespace to find the list of undo tablespace present in TRX_SYS page.
      For opening system tablespace, mariabackup should fetch the file name
      from already initialized system tablespace object.
      7e4bbd3a
  3. 19 Sep, 2018 1 commit
  4. 18 Sep, 2018 4 commits
  5. 17 Sep, 2018 1 commit
    • Marko Mäkelä's avatar
      Remove unused ha_innobase::lock · 4fa9eaf4
      Marko Mäkelä authored
      In MySQL 5.7, a follow-up to WL#6671 removed the unused
      fields ha_innobase::lock and INNOBASE_SHARE::lock, but
      MariaDB did not remove them, even though a counterpart of
      WL#6671 itself was implemented as MDEV-7660 in
      commit d665e79c.
      
      INNOBASE_SHARE was removed in MDEV-16557. Thus, all that
      needs to be removed is the unused member ha_innobase::lock
      and related code.
      
      Thanks to Monty (and Valgrind) for noticing that
      ha_innobase::lock was uninitialized.
      4fa9eaf4
  6. 16 Sep, 2018 3 commits
  7. 15 Sep, 2018 3 commits
    • Igor Babaev's avatar
      Fixed a compiler warning. · 7419f72b
      Igor Babaev authored
      7419f72b
    • Elena Stepanova's avatar
      Disable incompatible tests · 7c76f8aa
      Elena Stepanova authored
      7c76f8aa
    • Igor Babaev's avatar
      MDEV-17154 Multiple selects from parametrized CTE fails with syntax error · 3473e045
      Igor Babaev authored
      This patch fills a serious flaw in the implementation of common table
      expressions. Before this patch an attempt to prepare a statement from
      a query with a parameter marker in a CTE that was used more than once
      in the query ended up with a bogus error message. Similarly if a statement
      in a stored procedure contained a CTE whose specification used a
      local variables and this CTE was referred to more than once in the
      statement then the server failed to execute the stored procedure returning
      a bogus error message on a non-existing field.
      
      The problems appeared due to incorrect handling of parameter markers /
      local variables in CTEs that were referred more than once.
      
      This patch fixes the problems by differentiating between the original
      occurrences of a parameter marker / local variable used in the
      specification of a CTE and the corresponding occurrences used
      in copies of this specification. These copies are substituted
      instead of non-first references to the CTE.
      
      The idea of the fix and even some code were taken from the MySQL
      implementation of the common table expressions.
      3473e045
  8. 14 Sep, 2018 3 commits
  9. 13 Sep, 2018 5 commits
  10. 12 Sep, 2018 1 commit
  11. 11 Sep, 2018 4 commits
  12. 10 Sep, 2018 1 commit
    • Sergey Vojtovich's avatar
      MDEV-16773 - Assertion failed in tdc_remove_table · e76c4c06
      Sergey Vojtovich authored
      This assertion fails in thread that removes all table instances for
      particular table from table cache (e.g. "DROP TABLE") while another
      thread evicts table instance of the same table from table cache
      concurrently.
      
      After "MDEV-10296 - Multi-instance table cache" there is a gap in
      eviction code of tc_add_table() between removing table from free_tables
      and all_tables not protected by any mutexes.
      
      This is now valid table cache state, however assertion wasn't amended
      along with original patch. Moved assertion down, after waiting for such
      table instances to get closed.
      e76c4c06
  13. 08 Sep, 2018 3 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · f1bcfbb4
      Daniel Bartholomew authored
      f1bcfbb4
    • Jan Lindström's avatar
      Add one more wait for truncate in MW-44. · f01c4a10
      Jan Lindström authored
      f01c4a10
    • Igor Babaev's avatar
      MDEV-17024 Crash on large query · 4d991abd
      Igor Babaev authored
      This problem manifested itself when a join query used two or more
      materialized CTE such that each of them employed the same recursive CTE.
      The bug caused a crash. The crash happened because the cleanup()
      function was performed premature for recursive CTE. This clean up was
      induced by the cleanup of the first CTE referenced the recusrsive CTE.
      This cleanup destroyed the structures that would allow to read from the
      temporary table containing the rows of the recursive CTE and an attempt to read
      these rows for the second CTE referencing the recursive CTE triggered a
      crash.
      The clean up for a recursive CTE R should be performed after the cleanup
      of the last materialized CTE that uses R.
      4d991abd
  14. 07 Sep, 2018 1 commit