mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-19923 Add type handlers for geometry sub-types
This commit is contained in:
@ -3686,15 +3686,15 @@ SET TIMESTAMP=DEFAULT;
|
||||
# MDEV-15702 Remove the use of STRING_ITEM from Item_func_date_format::fix_length_and_dec()
|
||||
#
|
||||
SELECT DATE_FORMAT('2001-01-01',POINT(1,1));
|
||||
ERROR HY000: Illegal parameter data type geometry for operation 'date_format'
|
||||
ERROR HY000: Illegal parameter data type point for operation 'date_format'
|
||||
SELECT DATE_FORMAT(POINT(1,1),'10');
|
||||
ERROR HY000: Illegal parameter data type geometry for operation 'date_format'
|
||||
ERROR HY000: Illegal parameter data type point for operation 'date_format'
|
||||
SELECT DATE_FORMAT('2001-01-01',ROW(1,1));
|
||||
ERROR HY000: Illegal parameter data type row for operation 'date_format'
|
||||
SELECT DATE_FORMAT(ROW(1,1),'10');
|
||||
ERROR HY000: Illegal parameter data type row for operation 'date_format'
|
||||
SELECT DATE_FORMAT('2001-01-01','%Y',POINT(1,1));
|
||||
ERROR HY000: Illegal parameter data type geometry for operation 'date_format'
|
||||
ERROR HY000: Illegal parameter data type point for operation 'date_format'
|
||||
SELECT DATE_FORMAT('2001-01-01','%Y',ROW(1,1));
|
||||
ERROR HY000: Illegal parameter data type row for operation 'date_format'
|
||||
SELECT DATE_FORMAT('2001-01-01','%Y',@unknown_user_variable);
|
||||
|
Reference in New Issue
Block a user