Bug #29949 | killing a statement can give back wrong error to client | ||
---|---|---|---|
Submitted: | 21 Jul 2007 18:45 | Modified: | 1 Aug 2007 20:26 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.0.46 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Jul 2007 18:45]
Shane Bester
[21 Jul 2007 18:54]
MySQL Verification Team
Another manifestation. KILL <id> where id is busy preparing a SELECT statement can fail like this: thread [010] mysql_stmt_prepare failed: Unknown column 'a' in 'where clause' (1054) This happens with: SELECT * FROM `t1` WHERE `a` > 1
[1 Aug 2007 20:26]
MySQL Verification Team
On closer examination, it seems there was a real table `t1`, in the test database. Sometimes the temporary table `t1` failed to be created, and then the real `t1` without the column was accessed! I had overlooked it at the time :)