1. 17 Mar, 2020 3 commits
  2. 16 Mar, 2020 1 commit
  3. 13 Mar, 2020 9 commits
    • Marko Mäkelä's avatar
      Fix GCC 10.0 -Wstringop-overflow · ed21202a
      Marko Mäkelä authored
      myrg_open(): Reduce the scope of the variable 'end' and
      simplify the code.
      
      For some reason, I got no warning for this code in the 10.2
      branch, only 10.3 or later.
      
      The ENGINE=MERGE is covered by the tests main.merge, main.merge_debug,
      and main.merge-big.
      ed21202a
    • Sujatha's avatar
      MDEV-10047: table-based master info repository · d9d3c222
      Sujatha authored
      Problem:
      =======
      When we upgrade from "mysql" to "mariadb" if slave is using repositories as
      tables their data is completely ignored and no warning is issued in error log.
      
      Fix:
      ===
      "mysql_upgrade" test should check for the presence of data in
      "mysql.slave_master_info" and "mysql.slave_relay_log_info" tables. When tables
      have some data the upgrade script should report a warning which hints users
      that the data in repository tables will be ignored.
      d9d3c222
    • Marko Mäkelä's avatar
      Fix clang 10 warnings · 9f858f38
      Marko Mäkelä authored
      _ma_fetch_keypage(): Correct an assertion that used to always hold.
      Thanks to clang -Wint-in-bool-context for flagging this.
      
      double_to_datetime_with_warn(): Suppress -Wimplicit-int-float-conversion
      by adding a cast. LONGLONG_MAX converted to double will actually be
      LONGLONG_MAX+1.
      9f858f38
    • Marko Mäkelä's avatar
      MDEV-21933 INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES accesses SYS_DATAFILES · 2e8b0c56
      Marko Mäkelä authored
      All tablespace metadata is buffered in fil_system. There is a LRU
      mechanism, but that only controls the opening and closing of
      fil_node_t::handle.
      
      It is much more efficient and less error-prone to access data file names
      by looking up the fil_space_t object rather than by essentially joining
      each row with an access to SYS_DATAFILES via the InnoDB internal SQL parser.
      
      dict_get_first_path(): Declare static. The function may only be needed
      when loading or updating the data dictionary. Also, change a condition
      in order to avoid a bogus GCC 10 -Wstringop-overflow warning for
      mem_strdupl() about len==ULINT_UNDEFINED.
      
      i_s_sys_tablespaces_fill_table(): Do not access other InnoDB internal
      dictionary tables than SYS_TABLESPACES.
      2e8b0c56
    • Marko Mäkelä's avatar
      Fix GCC 10 -Wclass-memaccess · 47382a2f
      Marko Mäkelä authored
      47382a2f
    • Marko Mäkelä's avatar
      Fix GCC 10 -Wstringop-truncation · a8566f72
      Marko Mäkelä authored
      a8566f72
    • Marko Mäkelä's avatar
      Update libmariadb · 2c8fa28f
      Marko Mäkelä authored
      This fixes GCC 10.0.1 -Wstringop-truncation and some typos.
      2c8fa28f
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 32904dc5
      Marko Mäkelä authored
      32904dc5
    • Marko Mäkelä's avatar
      Merge 5.5 into 10.1 · 7b082fb0
      Marko Mäkelä authored
      7b082fb0
  4. 12 Mar, 2020 1 commit
  5. 11 Mar, 2020 5 commits
  6. 10 Mar, 2020 5 commits
  7. 09 Mar, 2020 2 commits
  8. 08 Mar, 2020 2 commits
  9. 06 Mar, 2020 3 commits
  10. 05 Mar, 2020 2 commits
  11. 02 Mar, 2020 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-21857 - Fix sporadic failure of mdev375 · f0d2542a
      Vladislav Vaintroub authored
      status threads_connected can temporarily be bigger than max_connections+1
      
      If SHOW STATUS LIKE "Threads_connected" comes after
      ER_CON_COUNT_ERROR is sent to the client, but before the counter is
      decremented, Threads_connected can differ from the expected value.
      f0d2542a
  12. 28 Feb, 2020 1 commit
  13. 26 Feb, 2020 2 commits
  14. 25 Feb, 2020 2 commits
  15. 23 Feb, 2020 1 commit
    • seppo's avatar
      MDEV-21723 Async slave thread BF abort and replaying fixes (#1448) · 4618c974
      seppo authored
      If async replication slave thread conflicts with cluster replication,
      then the async slave transaction should be BF aborted, and depending on the
      state of async slave transaction execution, potentially also replayed.
      There were problems in such BF abort implementation and the replaying was not
      started.
      This pull request contains fixes which make sure that if async slave thread is
      marked to abort and replay, it will complete carry out the rollback and
      release all locks and resources before starting the replaying. After replaying,
      async slave transactions is treated as successful, so the slave thread will
      continue as usual, handling next replication event.
      
      There is also new mtr test: galera.galera_slave_replay, which stresses both a
      certification failure for async slave thread and a successful BF abort
      followed by replaying.
      4618c974