Assertion `thd' failed for subquery errors

Bug #685411 reported by sbester on 2010-12-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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: void st_select_lex::print(THD*, String*, enum_query_type): Assertion `thd' failed.


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  Edit
Everyone can see this information.

Other bug subscribers