1. 11 Nov, 2019 13 commits
  2. 08 Nov, 2019 14 commits
  3. 07 Nov, 2019 5 commits
    • Aleksey Midenkov's avatar
      db565439
    • Aleksey Midenkov's avatar
      MDEV-17553 Enable setting start datetime for interval partitioned history of... · 1e73d7d6
      Aleksey Midenkov authored
      MDEV-17553 Enable setting start datetime for interval partitioned history of system versioned tables
      
      * Explicit STARTS syntax
      * SHOW CREATE
      * Default STARTS rounding depending on INTERVAL type
      * Warn when STARTS timestamp is later than query time
      * Fix uninitialized Lex->create_last_non_select_table under
        mysql_unpack_partition()
      
      Default STARTS rounding depending on INTERVAL type
      
      If STARTS clause is omitted, default one is assigned with value
      derived from query timestamp. The rounding is done on STARTS value
      depending on INTERVAL type:
      
      SECOND: no rounding is done;
      MINUTE: timestamp seconds is set to 0;
      HOUR: timestamp seconds and minutes are set to 0;
      DAY, WEEK, MONTH and YEAR: timestamp seconds, minutes and hours are
      set to 0 (the date of rotation is kept as current date).
      1e73d7d6
    • Marko Mäkelä's avatar
      Merge 10.4 into 10.5 · 77e8a311
      Marko Mäkelä authored
      A conflict between MDEV-19514 (b42294bc)
      and MDEV-20934 (d7a24017)
      was resolved. We will not invoke the function ibuf_delete_recs()
      from ibuf_merge_or_delete_for_page(). Instead, we will add that
      logic to the function ibuf_read_merge_pages().
      77e8a311
    • Oleksandr Byelkin's avatar
      Merge 10.4 into 10.5 · 3ad37ed0
      Oleksandr Byelkin authored
      3ad37ed0
    • Marko Mäkelä's avatar
      Merge 10.3 into 10.4 · c24ec3ce
      Marko Mäkelä authored
      c24ec3ce
  4. 06 Nov, 2019 8 commits
    • Marko Mäkelä's avatar
      MDEV-20934: Make the test more robust · 352e7667
      Marko Mäkelä authored
      Due to MDEV-12288, the slow shutdown in MariaDB 10.3 will include
      resetting the DB_TRX_ID for all inserted records. This might
      cause the 60-second shutdown_server timeout to be exceeded.
      Let us wait for the purge to complete before initiating slow shutdown.
      352e7667
    • Marko Mäkelä's avatar
      Merge 10.3 into 10.4 · 928abd69
      Marko Mäkelä authored
      928abd69
    • Marko Mäkelä's avatar
      Merge 10.2 into 10.3 · 908ca466
      Marko Mäkelä authored
      908ca466
    • Marko Mäkelä's avatar
      Follow-up to 792c9f9a · 90451a59
      Marko Mäkelä authored
      dict_index_add_to_cache(): Make the 'index' a reference to a pointer,
      so that the caller will avoid the expensive call to
      dict_index_get_if_in_cache_low().
      90451a59
    • Marko Mäkelä's avatar
      Merge 10.1 to 10.2 · 8688ef22
      Marko Mäkelä authored
      8688ef22
    • Marko Mäkelä's avatar
      MDEV-20934 Infinite loop on innodb_fast_shutdown=0 with inconsistent change buffer · d7a24017
      Marko Mäkelä authored
      Due to a data corruption bug that may have occurred a long time earlier
      (possibly involving physical backup and MySQL Bug #69122, which was
      addressed in commit f166ec71)
      it seems possible that the InnoDB change buffer might end up containing
      entries, while no buffered changes exist according to the change buffer
      bitmap pages in the .ibd files.
      
      ibuf_delete_recs(): New function, to be invoked on slow shutdown only.
      Remove all buffered changes for a specific page.
      
      ibuf_merge_or_delete_for_page(): If the change buffer bitmap is clean
      and a slow shutdown is in progress, invoke ibuf_delete_recs().
      We do not want to do that during normal operation, due to the additional
      overhead that is involved. The bitmap page should be consistent with
      the change buffer in the first place.
      d7a24017
    • Marko Mäkelä's avatar
      Merge 5.5 into 10.1 · 4e99e67c
      Marko Mäkelä authored
      4e99e67c
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-20987 InnoDB fails to start when fts table has FK relation · 5c3bbbd8
      Thirunarayanan Balathandayuthapani authored
      InnoDB: Assertion failure in file .../dict/dict0dict.cc line ...
      InnoDB: Failing assertion: table->can_be_evicted
      
      This fixes a regression that was caused by the fix of MDEV-20621
      (commit a41d4297).
      MySQL 5.6 (and MariaDB 10.0) introduced eviction of tables from
      the InnoDB data dictionary cache. Tables that are connected to
      FOREIGN KEY constraints or FULLTEXT INDEX are exempt of the eviction.
      With the problematic change, a table that would already be exempt
      from eviction due to FOREIGN KEY would cause the problem if there
      also was a FULLTEXT INDEX defined on it.
      
      dict_load_table(): Only prevent eviction if table->can_be_evicted holds.
      5c3bbbd8