diff options
Diffstat (limited to 'mysql-test/main/aborted_clients.result')
-rw-r--r-- | mysql-test/main/aborted_clients.result | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/main/aborted_clients.result b/mysql-test/main/aborted_clients.result new file mode 100644 index 00000000..8eb6df59 --- /dev/null +++ b/mysql-test/main/aborted_clients.result @@ -0,0 +1,16 @@ +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; |