Server IP : 49.212.180.16 / Your IP : 3.19.120.1 Web Server : Apache System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 User : utannto ( 1076) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/rs/mysql/5.1/mysql-test/r/ |
Upload File : |
SET @old_concurrent_insert= @@global.concurrent_insert; SET @@global.concurrent_insert= 0; DROP TABLE IF EXISTS t1; CREATE TABLE t1 (kill_id INT); INSERT INTO t1 VALUES(connection_id()); FLUSH TABLES WITH READ LOCK; SELECT ((@id := kill_id) - kill_id) FROM t1; ((@id := kill_id) - kill_id) 0 KILL CONNECTION @id; DROP TABLE t1; SET @@global.concurrent_insert= @old_concurrent_insert;