mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -479,6 +479,21 @@ UNLOCK TABLES;
|
||||
DROP FUNCTION f1;
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-14410 - Assertion `table->pos_in_locked_tables == __null ||
|
||||
# table->pos_in_locked_tables->table == table' failed in
|
||||
# mark_used_tables_as_free_for_reuse
|
||||
#
|
||||
CREATE TABLE t1 (a INT);
|
||||
CREATE TABLE t2 (b INT);
|
||||
CREATE TABLE t3 (c INT);
|
||||
CREATE TRIGGER tr1 BEFORE INSERT ON t3 FOR EACH ROW INSERT INTO t1 VALUES ();
|
||||
CREATE TRIGGER tr2 BEFORE INSERT ON t2 FOR EACH ROW INSERT INTO t3 SELECT * FROM t1;
|
||||
LOCK TABLE t1 WRITE, t2 WRITE;
|
||||
CREATE OR REPLACE TABLE t1 (i INT);
|
||||
UNLOCK TABLES;
|
||||
INSERT INTO t2 VALUES (1);
|
||||
DROP TABLE t1, t2, t3;
|
||||
#
|
||||
# MDEV-11071 - Assertion `thd->transaction.stmt.is_empty()' failed in
|
||||
# Locked_tables_list::unlock_locked_tables
|
||||
#
|
||||
|
Reference in New Issue
Block a user