1. 27 Jun, 2024 25 commits
  2. 26 Jun, 2024 2 commits
    • Daniel Black's avatar
      MDEV-34313: compile WITHOUT_SERVER and WSREP=ON · d5bad490
      Daniel Black authored
      CMake WSREP=ON has some implications for client
      executables so still present this as an option
      when compiling WITHOUT_SERVER. In this case
      default to ON for maximium compatibility of
      the build client executables and libraries.
      d5bad490
    • Daniel Black's avatar
      MDEV-34313: compiler mariadb-binlog WITHOUT_SERVER · 53a48678
      Daniel Black authored
      The log_event_old.cc is included by mysqlbinlog.cc.
      
      With -DWITHOUT_SERVER the include path for the wsrep
      include headers isn't there.
      
      As these aren't needed by the mariadb-binlog, move
      these to under a ifndef MYSQL_CLIENT preprocessor.
      
      Caused by MDEV-18590
      53a48678
  3. 25 Jun, 2024 4 commits
    • Yuchen Pei's avatar
      ad0ee8cd
    • Yuchen Pei's avatar
      MDEV-34361 Split my.cnf in the spider suite. · 01289dac
      Yuchen Pei authored
      Just like the spider/bugfix suite.
      
      One caveat is that my_2_3.cnf needs something under mysqld.2.3 group,
      otherwise mtr will fail with something like:
      
      There is no group named 'mysqld.2.3' that can be used to resolve
      'port' for ...
      
      This will allow new tests under the spider suite to use what is
      needed. It also somehow fixes issues of running a test followed by
      spider.slave_trx_isolation.
      01289dac
    • Yuchen Pei's avatar
    • Dmitry Shulga's avatar
      MDEV-24411: Trigger doesn't work correctly with bulk insert · 8b169949
      Dmitry Shulga authored
      Executing an INSERT statement in PS mode having positional parameter
      bound with an array could result in incorrect number of inserted rows
      in case there is a BEFORE INSERT trigger that executes yet another
      INSERT statement to put a copy of row being inserted into some table.
      
      The reason for incorrect number of inserted rows is that a data structure
      used for binding positional argument with its actual values is stored
      in THD (this is thd->bulk_param) and reused on processing every INSERT
      statement. It leads to consuming actual values bound with top-level
      INSERT statement by other INSERT statements used by triggers' body.
      
      To fix the issue, reset the thd->bulk_param temporary to the value nullptr
      before invoking triggers and restore its value on finishing its execution.
      8b169949
  4. 24 Jun, 2024 3 commits
  5. 22 Jun, 2024 3 commits
  6. 21 Jun, 2024 1 commit
  7. 20 Jun, 2024 2 commits
    • Dave Gosselin's avatar
      MDEV-33746 Supply missing override markings · db0c28ef
      Dave Gosselin authored
      Find and fix missing virtual override markings.  Updates cmake
      maintainer flags to include -Wsuggest-override and
      -Winconsistent-missing-override.
      db0c28ef
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-34389 Avoid log overwrite in early recovery · ab448d4b
      Thirunarayanan Balathandayuthapani authored
      - InnoDB tries to write FILE_CHECKPOINT marker during
      early recovery when log file size is insufficient.
      While updating the log checkpoint at the end of the recovery,
      InnoDB must already have written out all pending changes
      to the persistent files. To complete the checkpoint, InnoDB
      has to write some log records for the checkpoint and to
      update the checkpoint header. If the server gets killed
      before updating the checkpoint header then it would lead
      the logfile to be unrecoverable.
      
      - This patch avoids FILE_CHECKPOINT marker during early
      recovery and narrows down the window of opportunity to
      make the log file unrecoverable.
      ab448d4b