Skip to content
Permalink
Browse files
MDEV-515: Improve test coverage
Cover dict_index_t::clear() for TEMPORARY TABLE
  • Loading branch information
dr-m committed Jan 23, 2023
1 parent f9cac8d commit 1bbf37e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
@@ -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);

0 comments on commit 1bbf37e

Please sign in to comment.