| 1 |
SET sql_mode=ORACLE; |
| 2 |
# |
| 3 |
# Start of 10.5 tests |
| 4 |
# |
| 5 |
# |
| 6 |
# MDEV-19994 Add class Function_collection |
| 7 |
# |
| 8 |
SET SESSION debug_dbug="+d,make_item_func_call_native_simulate_not_found"; |
| 9 |
SELECT CONTAINS(POINT(1,1),POINT(1,1)); |
| 10 |
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 |
| 11 |
SELECT WITHIN(POINT(1,1),POINT(1,1)); |
| 12 |
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 |
| 13 |
SET SESSION debug_dbug="-d,make_item_func_call_native_simulate_not_found"; |
| 14 |
# |
| 15 |
# MDEV-20009 Add CAST(expr AS pluggable_type) |
| 16 |
# |
| 17 |
SET SESSION debug_dbug="+d,emulate_geometry_create_typecast_item"; |
| 18 |
SELECT AsText(CAST('POINT(0 0)' AS GEOMETRY)); |
| 19 |
AsText(CAST('POINT(0 0)' AS GEOMETRY)) |
| 20 |
POINT(0 0) |
| 21 |
SET SESSION debug_dbug="-d,emulate_geometry_create_typecast_item"; |
| 22 |
# |
| 23 |
# End of 10.5 tests |
| 24 |
# |