Debian Codegraph @

mysql-test/suite/compat/oracle/t/gis-debug.test

raw
1 --source include/have_geometry.inc
2 --source include/have_debug.inc
3
4 SET sql_mode=ORACLE;
5
6 --echo #
7 --echo # Start of 10.5 tests
8 --echo #
9
10 --echo #
11 --echo # MDEV-19994 Add class Function_collection
12 --echo #
13
14 SET SESSION debug_dbug="+d,make_item_func_call_native_simulate_not_found";
15 --error ER_PARSE_ERROR
16 SELECT CONTAINS(POINT(1,1),POINT(1,1));
17 --error ER_PARSE_ERROR
18 SELECT WITHIN(POINT(1,1),POINT(1,1));
19 SET SESSION debug_dbug="-d,make_item_func_call_native_simulate_not_found";
20
21 --echo #
22 --echo # MDEV-20009 Add CAST(expr AS pluggable_type)
23 --echo #
24
25 SET SESSION debug_dbug="+d,emulate_geometry_create_typecast_item";
26 SELECT AsText(CAST('POINT(0 0)' AS GEOMETRY));
27 SET SESSION debug_dbug="-d,emulate_geometry_create_typecast_item";
28
29 --echo #
30 --echo # End of 10.5 tests
31 --echo #