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:
@ -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);
|
||||
|
Reference in New Issue
Block a user