Updated main.trigger-trans.test to make it more resiliant
This commit is contained in:
parent
9c7a456a92
commit
6d21b6acb8
@ -234,11 +234,12 @@ DROP TABLE t3, t2, t1;
|
|||||||
# void MDL_context::release_lock(MDL_ticket*)
|
# void MDL_context::release_lock(MDL_ticket*)
|
||||||
#
|
#
|
||||||
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
|
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
|
||||||
SET max_statement_time= 0.001;
|
|
||||||
LOCK TABLES t1 WRITE;
|
LOCK TABLES t1 WRITE;
|
||||||
|
SET max_statement_time= 0.001;
|
||||||
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
|
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
|
||||||
DROP TABLE t1;
|
|
||||||
SET max_statement_time= default;
|
SET max_statement_time= default;
|
||||||
|
DROP TRIGGER IF EXISTS trg16;
|
||||||
|
DROP TABLE t1;
|
||||||
#
|
#
|
||||||
# End of 10.5 tests
|
# End of 10.5 tests
|
||||||
#
|
#
|
||||||
|
@ -240,11 +240,17 @@ DROP TABLE t3, t2, t1;
|
|||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
|
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
|
||||||
SET max_statement_time= 0.001;
|
|
||||||
LOCK TABLES t1 WRITE;
|
LOCK TABLES t1 WRITE;
|
||||||
|
SET max_statement_time= 0.001;
|
||||||
|
--error 0,1969,2013
|
||||||
|
--disable_warnings
|
||||||
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
|
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
|
||||||
DROP TABLE t1;
|
--enable_warnings
|
||||||
SET max_statement_time= default;
|
SET max_statement_time= default;
|
||||||
|
--disable_warnings
|
||||||
|
DROP TRIGGER IF EXISTS trg16;
|
||||||
|
--enable_warnings
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
||||||
--echo #
|
--echo #
|
||||||
--echo # End of 10.5 tests
|
--echo # End of 10.5 tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user