1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Record in test suite that temporary tables only uses write locks

This commit is contained in:
Monty
2021-06-07 13:48:56 +03:00
parent 3d6eb7afcf
commit be84f9cea7
2 changed files with 26 additions and 0 deletions

View File

@ -681,3 +681,17 @@ drop temporary table t2;
--echo # End of 10.5 tests
--echo #
--echo #
--echo # Record that temporary table locks are always WRITE locks
--echo #
CREATE TEMPORARY TABLE t1 (a INT);
LOCK TABLE t1 READ;
TRUNCATE TABLE t1;
TRUNCATE TABLE t1;
UNLOCK TABLES;
DROP TABLE t1;
--echo #
--echo # End of 10.6 tests
--echo #