mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
49dc3a7b32
newly introduced metadata locks. Previously the behavior was deterministic and if several LOCKs were waiting the first one of them was released by UNLOCK (in chronological order). Now (with MDLs) the behavior is undefined and since we do not know in what order to --reap the connections we simply disconnect them without reaping.
11 lines
199 B
Text
11 lines
199 B
Text
SET storage_engine=InnoDB;
|
|
INSERT INTO bug38231_2 VALUES (1), (10), (300);
|
|
SET autocommit=0;
|
|
SELECT * FROM bug38231_2 FOR UPDATE;
|
|
a
|
|
1
|
|
10
|
|
300
|
|
TRUNCATE TABLE bug38231_2;
|
|
COMMIT;
|
|
DROP TABLE bug38231_2;
|