1. 12 May, 2020 2 commits
  2. 11 May, 2020 1 commit
  3. 09 May, 2020 9 commits
  4. 08 May, 2020 8 commits
  5. 07 May, 2020 5 commits
    • Marko Mäkelä's avatar
      MDEV-22495 Assertion ...status != buf_page_t::FREED in ibuf_read_merge_pages() · 4a5be2e9
      Marko Mäkelä authored
      ibuf_read_merge_pages(): Request a possibly freed page.
      The change buffer is discarded lazily for freed pages either
      by this function or when buf_page_create() reuses a page.
      
      buf_page_get_low(): Relax a debug assertion.
      Do not attempt change buffer merge on freed pages.
      
      ibuf_merge_or_delete_for_page(): Assert that the page state is NORMAL.
      INIT_ON_FLUSH is not possible, because in that case buf_page_create()
      should have removed any buffered changes for the page.
      
      buf_page_get_gen(): Apply buffered changes also in the case when
      we can avoid reading the page based on buffered redo log records.
      This addresses a hard-to-reproduce scenario that was broken in
      commit 6697135c.
      4a5be2e9
    • Marko Mäkelä's avatar
      MDEV-21133 follow-up: Use fil_page_get_type() · 18a62eb7
      Marko Mäkelä authored
      Let us use the common accessor function fil_page_get_type()
      instead of accessing the page header field FIL_PAGE_TYPE directly.
      18a62eb7
    • Sergei Petrunia's avatar
      MDEV-21794: Optimizer flag rowid_filter leads to long query · 8d85715d
      Sergei Petrunia authored
      Rowid Filter check is just like Index Condition Pushdown check: before
      we check the filter, we must check if we have walked out of the range
      we are scanning. (If we did, we should return, and not continue the scan).
      
      Consequences of this:
      - Rowid filtering doesn't work for keys that have partially-covered
        blob columns (just like Index Condition Pushdown)
      - The rowid filter function has three return values: CHECK_POS (passed)
        CHECK_NEG (filtered out), CHECK_OUT_OF_RANGE.
      
      All of the above is implemented in this patch
      8d85715d
    • Marko Mäkelä's avatar
      MDEV-21133 follow-up: More my_assume_aligned hints · ba573c47
      Marko Mäkelä authored
      fsp0pagecompress.h: Remove.
      Invoke fil_page_get_type() and FSP_FLAGS_GET_PAGE_COMPRESSION_LEVEL
      directly.
      
      log_block_get_flush_bit(), log_block_set_flush_bit():
      Access the byte directly.
      
      dict_sys_read_row_id(): Remove (unused function).
      ba573c47
    • Oleksandr Byelkin's avatar
      MDEV-19650: Privilege bug on MariaDB 10.4 · 0253ea7f
      Oleksandr Byelkin authored
      Also fixes:
      MDEV-21487: Implement option for mysql_upgrade that allows root@localhost to be replaced
      MDEV-21486: Implement option for mysql_install_db that allows root@localhost to be replaced
      
      Add user mariadb.sys to be definer of user view
      (and has right on underlying table global_priv for
      required operation over global_priv
      (SELECT,UPDATE,DELETE))
      
      Also changed definer of gis functions in case of creation,
      but they work with any definer so upgrade script do not try
      to push this change.
      0253ea7f
  6. 06 May, 2020 8 commits
  7. 05 May, 2020 7 commits