mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-20009 Add CAST(expr AS pluggable_type)
This commit is contained in:
@ -502,5 +502,13 @@ SELECT WITHIN(POINT(1,1),POINT(1,1));
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(POINT(1,1),POINT(1,1))' at line 1
|
||||
SET SESSION debug_dbug="-d,make_item_func_call_native_simulate_not_found";
|
||||
#
|
||||
# MDEV-20009 Add CAST(expr AS pluggable_type)
|
||||
#
|
||||
SET SESSION debug_dbug="+d,emulate_geometry_create_typecast_item";
|
||||
SELECT AsText(CAST('POINT(0 0)' AS GEOMETRY));
|
||||
AsText(CAST('POINT(0 0)' AS GEOMETRY))
|
||||
POINT(0 0)
|
||||
SET SESSION debug_dbug="-d,emulate_geometry_create_typecast_item";
|
||||
#
|
||||
# End of 10.5 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user