Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
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
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Re: Assertion `thd' failed for subquery errors
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;