1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-515: Improve test coverage

Cover dict_index_t::clear() for TEMPORARY TABLE
This commit is contained in:
Marko Mäkelä
2023-01-23 13:05:52 +02:00
parent f9cac8d2cb
commit 1bbf37e0db
2 changed files with 8 additions and 0 deletions

View File

@@ -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;

View File

@@ -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);