mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fix test suite:
on Windows, kill <connection> can and almost always will return client error 2013 ("Lost connection...") on the killed connection,
On the server side, if connection is "sleeping" KILL will close the socket, thus socket error on client is expected.
This commit is contained in:
parent
b53744b79e
commit
273d1b9300
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ drop table t2;
|
|||
connection master;
|
||||
# The get_lock function causes warning for unsafe statement.
|
||||
--disable_warnings
|
||||
--error ER_QUERY_INTERRUPTED,ER_CONNECTION_KILLED
|
||||
# 2013 = CR_SERVER_LOST
|
||||
--error ER_QUERY_INTERRUPTED,ER_CONNECTION_KILLED,2013
|
||||
reap;
|
||||
--enable_warnings
|
||||
connection slave;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue