mirror of
https://github.com/MariaDB/server.git
synced 2025-02-12 00:15:35 +01:00
![Jan Lindström](/assets/img/avatar_default.png)
Problem was that in case of INSERT DELAYED thd->query() is freed before we call trans_rollback where WSREP_DEBUG could access thd->query() in wsrep_thd_query(). Fix is to reset thd->query() to NULL in delayed_insert destructor after it is freed. There is already null guard at wsrep_thd_query(). Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
8 lines
254 B
Text
8 lines
254 B
Text
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t (a INT) ENGINE=InnoDB;
|
|
INSERT DELAYED INTO t VALUES ();
|
|
ERROR HY000: DELAYED option not supported for table 't'
|
|
DROP TABLE t;
|
|
INSERT DELAYED t1 () VALUES ();
|
|
ERROR 42S02: Table 'test.t1' doesn't exist
|