Bug #20868 | Client connection is broken on SQL query error | ||
---|---|---|---|
Submitted: | 5 Jul 2006 14:19 | Modified: | 2 Aug 2006 19:08 |
Reporter: | Kent Olsen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.22/5.0BK/5.1BK | OS: | Linux (Fedora Core 5 (64-bit)) |
Assigned to: | Georgi Kodinov | CPU Architecture: | Any |
[5 Jul 2006 14:19]
Kent Olsen
[5 Jul 2006 14:33]
MySQL Verification Team
Back Trace 5.0.23BK Suse Linux 32-bit
Attachment: bt-20868.txt (text/plain), 8.00 KiB.
[5 Jul 2006 14:42]
MySQL Verification Team
Thank you for the bug report. Verified on Linux Suse 10 32-bit. Back trace attached. miguel@hegel:~/dbs/5.1> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.23-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select -> t.id, t.name, -> (select min(c.id) -> from tables ttt, columns ccc -> where ttt.id = ccc.table_id -> and ttt.id = t.id -> group by ttt.id) as minid -> from tables t, columns c -> where t.id = c.table_id; ERROR 2013 (HY000): Lost connection to MySQL server during query miguel@hegel:~/dbs/5.1> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 to server version: 5.1.12-beta-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select -> t.id, t.name, -> (select min(c.id) -> from tables ttt, columns ccc -> where ttt.id = ccc.table_id -> and ttt.id = t.id -> group by ttt.id) as minid -> from tables t, columns c -> where t.id = c.table_id; ERROR 2013 (HY000): Lost connection to MySQL server during query miguel@hegel:~/dbs/4.1> bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 to server version: 4.1.21-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select -> t.id, t.name, -> (select min(c.id) -> from tables ttt, columns ccc -> where ttt.id = ccc.table_id -> and ttt.id = t.id -> group by ttt.id) as minid -> from tables t, columns c -> where t.id = c.table_id; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tables ttt, columns ccc where ttt.id = ccc.table_id and ttt.id = t.id ' at line 4
[18 Jul 2006 10:40]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/9265
[21 Jul 2006 15:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/9416
[2 Aug 2006 18:58]
Evgeny Potemkin
An aggregate function reference was resolved incorrectly and caused a crash in count_field_types. Fixed in 5.0.25, 5.1.12
[2 Aug 2006 19:08]
Paul DuBois
Noted in 5.0.25, 5.1.12 changelogs.