mirror of
https://github.com/zebrajr/server.git
synced 2025-12-06 12:20:40 +01:00
MDEV-515: Improve test coverage
Cover dict_index_t::clear() for TEMPORARY TABLE
This commit is contained in:
parent
f9cac8d2cb
commit
1bbf37e0db
|
|
@ -45,6 +45,10 @@ SET tx_read_only=1;
|
|||
BEGIN;
|
||||
INSERT INTO t2 VALUES(0);
|
||||
INSERT INTO t VALUES(0);
|
||||
ROLLBACK;
|
||||
BEGIN;
|
||||
INSERT INTO t2 VALUES(0);
|
||||
INSERT INTO t VALUES(0);
|
||||
COMMIT;
|
||||
INSERT INTO t VALUES(0);
|
||||
DROP TEMPORARY TABLE t,t2;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,10 @@ SET tx_read_only=1;
|
|||
BEGIN;
|
||||
INSERT INTO t2 VALUES(0);
|
||||
INSERT INTO t VALUES(0);
|
||||
ROLLBACK;
|
||||
BEGIN;
|
||||
INSERT INTO t2 VALUES(0);
|
||||
INSERT INTO t VALUES(0);
|
||||
COMMIT;
|
||||
INSERT INTO t VALUES(0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user