1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-16 00:42:55 +03:00
Files
mariadb/mysql-test/suite/innodb/r/innodb_bug51920.result
2016-03-31 10:11:16 +04:00

20 lines
439 B
Plaintext

CREATE TABLE bug51920 (i INT) ENGINE=InnoDB;
INSERT INTO bug51920 VALUES (1);
BEGIN;
SELECT * FROM bug51920 FOR UPDATE;
i
1
connect con1,localhost,root,,;
connection con1;
UPDATE bug51920 SET i=2;
connection default;
SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
WHERE INFO="UPDATE bug51920 SET i=2"
INTO @thread_id;
KILL @thread_id;
connection con1;
Got one of the listed errors
connection default;
DROP TABLE bug51920;
disconnect con1;