Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL)
-
None
Description
This query crashes the server:
SELECT INTERVAL(ROW(1,1),ROW(1,2)); |
Attachments
Issue Links
- relates to
-
MDEV-14228 MariaDB crashes with function
-
- Closed
-
-
MDEV-29184 Assertion `0' in Item_row::illegal_method_call, Type_handler_row::Item_update_null_value, Item::update_null_value
-
- Closed
-
A related problem:
This script erroneously return a result, it should return an error instead,
as it mixes ROW and scalar expressions in the INTERVAL function:
DELIMITER $$
DELIMITER ;
+---------------------+
| INTERVAL(v,'a','b') |
+---------------------+
| -1 |
+---------------------+