1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

TRUNCATE is always a transaction on itself. pretent we're in auto-commit mode

bug#8151
This commit is contained in:
unknown
2005-04-14 18:14:54 +02:00
parent 28a1851629
commit 1403fb000b
3 changed files with 8 additions and 2 deletions

View File

@ -821,6 +821,7 @@ truncate table t1;
Can't execute the given command because you have active locked tables or an active transaction
commit;
truncate table t1;
truncate table t1;
select * from t1;
a
insert into t1 values(1),(2);