mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
44bac2ea9c
kill of active connection yields different error code depending on platform.
13 lines
316 B
Text
13 lines
316 B
Text
CREATE TABLE bug51920 (i INT) ENGINE=InnoDB;
|
|
INSERT INTO bug51920 VALUES (1);
|
|
BEGIN;
|
|
SELECT * FROM bug51920 FOR UPDATE;
|
|
i
|
|
1
|
|
UPDATE bug51920 SET i=2;
|
|
SELECT ID FROM INFORMATION_SCHEMA.PROCESSLIST
|
|
WHERE INFO="UPDATE bug51920 SET i=2"
|
|
INTO @thread_id;
|
|
KILL @thread_id;
|
|
Got one of the listed errors
|
|
DROP TABLE bug51920;
|