Added two possible error cases for a test.

parent 4e9ef283
...@@ -6,7 +6,7 @@ select 1; ...@@ -6,7 +6,7 @@ select 1;
1 1
1 1
select 2; select 2;
ERROR HY000: MySQL server has gone away Got one of the listed errors
select 3; select 3;
3 3
3 3
...@@ -14,7 +14,7 @@ select 1; ...@@ -14,7 +14,7 @@ select 1;
1 1
1 1
select 2; select 2;
ERROR HY000: MySQL server has gone away Got one of the listed errors
select 3; select 3;
3 3
3 3
...@@ -46,7 +46,8 @@ while (!`select @aborted_clients`) ...@@ -46,7 +46,8 @@ while (!`select @aborted_clients`)
connection default; connection default;
# When the connection is closed in this way, the error code should # When the connection is closed in this way, the error code should
# be consistent see bug#2845 for an explanation # be consistent see bug#2845 for an explanation
--error 2006 # depending on platform/client, either errno 2006 or 2013 can occur below
--error 2006,2013
select 2; select 2;
--enable_reconnect --enable_reconnect
select 3; select 3;
...@@ -90,7 +91,8 @@ while (!`select @aborted_clients`) ...@@ -90,7 +91,8 @@ while (!`select @aborted_clients`)
connection con1; connection con1;
# When the connection is closed in this way, the error code should # When the connection is closed in this way, the error code should
# be consistent see bug#2845 for an explanation # be consistent see bug#2845 for an explanation
--error 2006 # depending on platform/client, either errno 2006 or 2013 can occur below
--error 2006,2013
select 2; select 2;
--enable_reconnect --enable_reconnect
select 3; select 3;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment