1. 11 Jul, 2024 1 commit
  2. 08 Jul, 2024 1 commit
  3. 27 Jun, 2024 30 commits
  4. 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
  5. 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
  6. 24 Jun, 2024 2 commits
    • Rex's avatar
      MDEV-19520 Extend condition normalization to include 'NOT a' · d513a4ce
      Rex authored
      Having Item_func_not items in item trees breaks assumptions during the
      optimization phase about transformation possibilities in fix_fields().
      Remove Item_func_not by extending normalization during parsing.
      
      Reviewed by Oleksandr Byelkin (sanja@mariadb.com)
      d513a4ce
    • Marko Mäkelä's avatar
      MDEV-12008 fixup: Do not add a new error code · d9dd673f
      Marko Mäkelä authored
      New error codes can only be added in the latest major version.
      Adding ER_KILL_DENIED_HIGH_PRIORITY would shift by one all
      error codes that were added in MariaDB Server 10.6 or later.
      
      This amends commit 1001dae1
      
      Suggested by: Sergei Golubchik
      d9dd673f