mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
16 lines
454 B
Text
16 lines
454 B
Text
FLUSH STATUS;
|
|
connect con1,localhost,root,,;
|
|
disconnect con1;
|
|
connection default;
|
|
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
|
|
VARIABLE_VALUE
|
|
0
|
|
connect con2,localhost,root,,;
|
|
KILL CONNECTION_ID();
|
|
ERROR 70100: Connection was killed
|
|
disconnect con2;
|
|
connection default;
|
|
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME='aborted_clients';
|
|
VARIABLE_VALUE
|
|
1
|
|
FLUSH STATUS;
|