Bug #9876 "kill" test suite fails
Submitted: 13 Apr 2005 15:49 Modified: 13 Apr 2005 16:00
Reporter: Lenz Grimmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.12-pre OS:Linux (Linux)
Assigned to: CPU Architecture:Any

[13 Apr 2005 15:49] Lenz Grimmer
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?
[13 Apr 2005 16:00] Jim Winstead
Serg already fixed this.