Bug #34763 | item_subselect.cc:1235:Item_in_subselect::row_value_transformer:Assertion failed | ||
---|---|---|---|
Submitted: | 22 Feb 2008 19:20 | Modified: | 14 Apr 2008 19:22 |
Reporter: | Gleb Shchepa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 5.0+ | OS: | Any |
Assigned to: | Gleb Shchepa | CPU Architecture: | Any |
[22 Feb 2008 19:20]
Gleb Shchepa
[22 Feb 2008 20:02]
MySQL Verification Team
Thank you for the bug report. c:\dbs>5.1\bin\mysqld --standalone --console 080222 10:48:55 InnoDB: Started; log sequence number 0 46409 080222 10:48:56 [Note] Event Scheduler: Loaded 0 events 080222 10:48:56 [Note] 5.1\bin\mysqld: ready for connections. Version: '5.1.24-rc-nt-debug-log' socket: '' port: 3306 Source distribution Assertion failed: left_expr->fixed && select_lex->ref_pointer_array[i]->fixed, file .\item_subselect.cc, line 1291
[14 Mar 2008 18:46]
Gleb Shchepa
Release build fails with unexpected error message: Server version: 5.0.60 Source distribution mysql> CREATE TABLE t1 (a INT); Query OK, 0 rows affected (0.02 sec) mysql> INSERT INTO t1 VALUES(1); Query OK, 1 row affected (0.00 sec) mysql> SELECT ROW(1, 2) IN (SELECT a, 2) FROM t1 GROUP BY a; ERROR 1247 (42S22): Reference '<list ref>' not supported (forward reference in item list)
[14 Mar 2008 19:16]
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/44035 ChangeSet@1.2598, 2008-03-14 23:11:59+04:00, gshchepa@host.loc +4 -0 Fixed bug #34763. Queries like: SELECT ROW(1, 2) IN (SELECT t1.a, 2) FROM t1 GROUP BY t1.a or SELECT ROW(1, 2) IN (SELECT t1.a, 2 FROM t2) FROM t1 GROUP BY t1.a lead to assertion failure in the Item_in_subselect::row_value_transformer method in debugging build, or to unexpected error message in release build: ERROR 1247 (42S22): Reference '<list ref>' not supported (forward reference in item list) Unexpected error message and assertion failure have been eliminated.
[28 Mar 2008 9:21]
Bugs System
Pushed into 5.1.24-rc
[28 Mar 2008 9:22]
Bugs System
Pushed into 5.0.60
[31 Mar 2008 13:58]
Bugs System
Pushed into 6.0.5-alpha
[14 Apr 2008 19:22]
Paul DuBois
Noted in 5.0.60, 5.1.24, 6.0.5 changelogs. Queries such as SELECT ROW(1, 2) IN (SELECT t1.a, 2) FROM t1 GROUP BY t1.a (combining row constructors and subqueries in the FROM clause) could lead to assertion failure or unexpected error messages.