Assertion `thd' failed for subquery errors

Bug #685411 reported by sbester
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
High
Timour Katchaounov

Bug Description

run on debug build:

explain extended select 1 from dual where `a`=(select 1);

Version: '5.3.0-MariaDB-alpha-valgrind-max-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution
mysqld: sql_select.cc:19197: void st_select_lex::print(THD*, String*, enum_query_type): Assertion `thd' failed.

regards,
sbester

Revision history for this message
sbester (sbester) wrote :

probably a known issue:

19194 void st_select_lex::print(THD *thd, String *str, enum_query_type query_type)
19195 {
19196 /* TODO: thd may not be set for sub queries, but this should be fixed */
19197 DBUG_ASSERT(thd);
19198 if (!thd)
19199 thd= current_thd;

Changed in maria:
assignee: nobody → Timour Katchaounov (timour)
importance: Undecided → High
status: New → In Progress
Changed in maria:
milestone: none → 5.3
Changed in maria:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.