1. 10 Oct, 2018 1 commit
    • Marko Mäkelä's avatar
      MDEV-16273 innodb.alter_kill fails Unknown storage engine 'InnoDB' · 2610c26a
      Marko Mäkelä authored
      The test is shutting down InnoDB, corrupting a file, and finally
      restarting InnoDB. Before the shutdown, the test created the table
      and inserted some records. Before MDEV-12288, there would be no access
      to the table after server restart, but after MDEV-12288 purge would
      reset the transaction identifier after the INSERT, and this would
      sometimes happen after the restart.
      
      To make the test deterministic, wait for purge to complete before the
      shutdown.
      2610c26a
  2. 09 Oct, 2018 1 commit
  3. 08 Oct, 2018 4 commits
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-16980 Wrongly set tablename len while opening the · 7d4beb72
      Thirunarayanan Balathandayuthapani authored
      		table for purge thread
      
      Problem:
      =======
      	Purge tries to fetch mdl lock for the whole table even though it tries
      to open one of the partition. But table name length was wrongly set to indicate
      the partition name too.
      
      Solution:
      ========
      - Table name length should identify the table name only not the partition name.
      7d4beb72
    • Igor Babaev's avatar
      MDEV-17381 Wrong query result with LATERAL DERIVED optimization · 85953617
      Igor Babaev authored
                and join_cache_level=6
      
      This bug was fixed by the patch for mdev-17382 applied to 5.5.
      85953617
    • Igor Babaev's avatar
      MDEV-17382 Hash join algorithm should not be used to join materialized · e2535dcc
      Igor Babaev authored
                 derived table / view by equality
      
      Now rows of a materialized derived table are always put into a
      temporary table before join operation. If BNLH is used to join this
      table with the result of a partial join then both operands of the
      join are actually put into main memory. In most cases this is not
      efficient.
      We could avoid this by sending the rows of the derived table directly
      to the join operation. However this kind of data flow is not supported
      yet.
      Fixed by not allowing usage of hash join algorithm to join a materialized
      derived table if it's joined by an equality predicate of the form
      f=e where f is a field of the derived table.
      
      Change for the test case in 10.3: splitting must be turned off to preserve
      the explain.
      e2535dcc
    • Igor Babaev's avatar
      MDEV-17382 Hash join algorithm should not be used to join materialized · 1ebe841f
      Igor Babaev authored
                 derived table / view by equality
      
      Now rows of a materialized derived table are always put into a
      temporary table before join operation. If BNLH is used to join this
      table with the result of a partial join then both operands of the
      join are actually put into main memory. In most cases this is not
      efficient.
      We could avoid this by sending the rows of the derived table directly
      to the join operation. However this kind of data flow is not supported
      yet.
      Fixed by not allowing usage of hash join algorithm to join a materialized
      derived table if it's joined by an equality predicate of the form
      f=e where f is a field of the derived table.
      1ebe841f
  4. 06 Oct, 2018 1 commit
  5. 05 Oct, 2018 9 commits
  6. 04 Oct, 2018 4 commits
  7. 03 Oct, 2018 4 commits
    • Vladislav Vaintroub's avatar
      AWS KMS plugin : more detailed message when API calls fail. · 753117fe
      Vladislav Vaintroub authored
      Output API function name, exception name, exception text
      753117fe
    • Vladislav Vaintroub's avatar
      Update libmariadb · f67e0504
      Vladislav Vaintroub authored
      f67e0504
    • Marko Mäkelä's avatar
      MDEV-11369: Implement accurate checks for the metadata record · ae4f464f
      Marko Mäkelä authored
      Because changes of the FIL_PAGE_TYPE or PAGE_INSTANT in the root
      page are not undo-logged, it is possible that the fields suggest
      that instant ADD COLUMN is in effect, even though no metadata
      record exists. If the fields are set, proceed to fetch the
      metadata record. If the metadata record does not exist, return
      success if !index->is_instant().
      
      Also, check that the "infimum" and "supremum" records carry the
      strings in the root page. In a later format that supports instant
      DROP COLUMN, we will have to store more information in the root
      page, so that index->n_core_null_bytes can be determined accurately.
      ae4f464f
    • Marko Mäkelä's avatar
      MDEV-11369: Implement stricter checks for the metadata record · c134f565
      Marko Mäkelä authored
      btr_cur_instant_init_low(): If columns were instantly added and dropped,
      then index->is_instant() might not hold even though the root page type
      was FIL_PAGE_TYPE_INSTANT. MariaDB 10.3 must refuse to open such files,
      because instant DROP COLUMN is not supported.
      
      Also, refuse to open the table if the metadata record has
      wrong info OR status bits. Previously, we only refused to open
      if both bits were wrong.
      c134f565
  8. 02 Oct, 2018 3 commits
  9. 01 Oct, 2018 5 commits
  10. 30 Sep, 2018 2 commits
  11. 28 Sep, 2018 5 commits
  12. 27 Sep, 2018 1 commit