mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed bug in lock tables + alter table with Aria tables.
MDEV-18451 Server crashes in maria_create_trn_for_mysql upon ALTER TABLE Problem was that when table was locked many times, not all instances where removed from the transaction by _ma_remove_table_from_trnman()
This commit is contained in:
@ -412,7 +412,6 @@ LOCK TABLES v1 READ, t2 WRITE, t1 WRITE;
|
||||
ALTER TABLE t1 CHANGE f1 f2 DOUBLE;
|
||||
Got one of the listed errors
|
||||
ALTER TABLE t2 DROP c;
|
||||
ERROR 70100: Query execution was interrupted (max_statement_time exceeded)
|
||||
UNLOCK TABLES;
|
||||
DROP VIEW v1;
|
||||
DROP TABLE t1, t2;
|
||||
|
Reference in New Issue
Block a user