Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
The following simple query causes an assertion abort in MariaDB 5.1/5.2:
SELECT if(1, (SELECT min('hello')), NULL);
(see also bug#12620084 for mysql code line)
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Re: Simple query with IF expression causes an assertion abort
Problem is that cached_field_type of Item_func_if appeared to be MYSQL_TYPE_NULL...