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:
Vladislav Vaintroub 2011-09-29 12:58:20 +02:00
commit 273d1b9300

View file

@ -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;