Description:
When running the 4.1 test suite, the "kill" test fails with the following diff:
kill [ fail ]
Errors are (from /usr/local/mysql/mysql-test/var/log/mysqltest-time) :
/usr/local/mysql/bin/mysqltest: At line 31: query 'select 1' failed with wrong errno 2013 instead of 2006...
/usr/local/mysql/bin/mysqltest: At line 41: Result length mismatch
(the last lines may be the most important ones)
Below are the diffs between actual and expected results:
-------------------------------------------------------
*** r/kill.result 2005-04-13 18:27:38.000000000 +0300
--- r/kill.reject 2005-04-13 18:45:31.000000000 +0300
***************
*** 6,12 ****
0
kill @id;
select 1;
! ERROR HY000: MySQL server has gone away
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
0
--- 6,12 ----
0
kill @id;
select 1;
! ERROR HY000: Lost connection to MySQL server during query
select ((@id := kill_id) - kill_id) from t1;
((@id := kill_id) - kill_id)
0
-------------------------------------------------------
Maybe the result file just needs to be updated?
How to repeat:
compile the current 4.1 tree, run the test suite, observe the error
Suggested fix:
Update the result file?