1. 11 Sep, 2018 1 commit
    • Jacob Mathew's avatar
      MDEV-16912: Spider Order By column[datatime] limit 5 returns 3 rows · eb2ca3d4
      Jacob Mathew authored
      The problem occurs in 10.2 and earlier releases of MariaDB Server because the
      Partition Engine was not pushing the engine conditions to the underlying
      storage engine of each partition.  This caused Spider to return the first 5
      rows in the table with the data provided by the customer.  2 of the 5 rows
      did not qualify the WHERE clause, so they were removed from the result set by
      the server.
      
      To fix the problem, I have back-ported support for engine condition pushdown
      in the Partition Engine from MariaDB Server 10.3.
      
      Author:
        Jacob Mathew.
      
      Reviewer:
        Kentoku Shiba.
      eb2ca3d4
  2. 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
  3. 08 Sep, 2018 1 commit
    • 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
  4. 07 Sep, 2018 6 commits
  5. 06 Sep, 2018 2 commits
  6. 05 Sep, 2018 1 commit
  7. 03 Sep, 2018 1 commit
  8. 01 Sep, 2018 2 commits
  9. 31 Aug, 2018 9 commits
  10. 30 Aug, 2018 8 commits
  11. 29 Aug, 2018 3 commits
  12. 28 Aug, 2018 5 commits