From ec0e9d6f76b1715bb7e229f8361b42476c016734 Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Sun, 25 Oct 2020 11:17:27 +0200 Subject: MDEV-22681 EXECUTE IMMEDIATE crashes server if wsrep is on. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A wsrep transaction was started for EXECUTE IMMEDIATE, which caused assertion failure when the executed statement was CREATE TABLE which should be executed in TOI mode. As a fix, don't start wsrep transaction for EXECUTE IMMEDIATE to let the wsrep state logic to be handled from inside stored procedure codepath. Reviewed-by: Jan Lindström --- mysql-test/suite/wsrep/t/mdev_22681.cnf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mysql-test/suite/wsrep/t/mdev_22681.cnf (limited to 'mysql-test/suite/wsrep/t/mdev_22681.cnf') diff --git a/mysql-test/suite/wsrep/t/mdev_22681.cnf b/mysql-test/suite/wsrep/t/mdev_22681.cnf new file mode 100644 index 00000000000..2f310476733 --- /dev/null +++ b/mysql-test/suite/wsrep/t/mdev_22681.cnf @@ -0,0 +1,10 @@ +!include ../my.cnf + +[mysqld.1] +wsrep-on=ON +log-bin +binlog-format=ROW +innodb-flush-log-at-trx-commit=1 +wsrep-cluster-address=gcomm:// +wsrep-provider=@ENV.WSREP_PROVIDER +innodb-autoinc-lock-mode=2 -- cgit v1.2.1