Simple query with IF expression causes an assertion abort
Bug #998321 reported by
Igor Babaev
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| MariaDB |
Fix Released
|
Critical
|
Oleksandr "Sanja" Byelkin | ||
Bug 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)
| Changed in maria: | |
| status: | New → Confirmed |
| importance: | Undecided → Critical |
| assignee: | nobody → Oleksandr "Sanja" Byelkin (sanja-byelkin) |
| milestone: | none → 5.1 |
| Changed in maria: | |
| status: | Confirmed → In Progress |
| Changed in maria: | |
| status: | In Progress → Fix Committed |
| Changed in maria: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.

Problem is that cached_field_type of Item_func_if appeared to be MYSQL_TYPE_NULL...