Commit 1bbf37e0 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-515: Improve test coverage

Cover dict_index_t::clear() for TEMPORARY TABLE
parent f9cac8d2
...@@ -45,6 +45,10 @@ SET tx_read_only=1; ...@@ -45,6 +45,10 @@ SET tx_read_only=1;
BEGIN; BEGIN;
INSERT INTO t2 VALUES(0); INSERT INTO t2 VALUES(0);
INSERT INTO t VALUES(0); INSERT INTO t VALUES(0);
ROLLBACK;
BEGIN;
INSERT INTO t2 VALUES(0);
INSERT INTO t VALUES(0);
COMMIT; COMMIT;
INSERT INTO t VALUES(0); INSERT INTO t VALUES(0);
DROP TEMPORARY TABLE t,t2; DROP TEMPORARY TABLE t,t2;
......
...@@ -51,6 +51,10 @@ SET tx_read_only=1; ...@@ -51,6 +51,10 @@ SET tx_read_only=1;
BEGIN; BEGIN;
INSERT INTO t2 VALUES(0); INSERT INTO t2 VALUES(0);
INSERT INTO t VALUES(0); INSERT INTO t VALUES(0);
ROLLBACK;
BEGIN;
INSERT INTO t2 VALUES(0);
INSERT INTO t VALUES(0);
COMMIT; COMMIT;
INSERT INTO t VALUES(0); INSERT INTO t VALUES(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment