From 265a7d1613d29e2bdd4c91a5a75971b331519dbe Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 10 Jul 2019 11:55:16 +0400 Subject: MDEV-20009 Add CAST(expr AS pluggable_type) --- mysql-test/main/gis-debug.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/main/gis-debug.test') diff --git a/mysql-test/main/gis-debug.test b/mysql-test/main/gis-debug.test index 47eda47c7ff..dd1cbd0b932 100644 --- a/mysql-test/main/gis-debug.test +++ b/mysql-test/main/gis-debug.test @@ -170,6 +170,15 @@ SELECT CONTAINS(POINT(1,1),POINT(1,1)); SELECT WITHIN(POINT(1,1),POINT(1,1)); SET SESSION debug_dbug="-d,make_item_func_call_native_simulate_not_found"; +--echo # +--echo # MDEV-20009 Add CAST(expr AS pluggable_type) +--echo # + +SET SESSION debug_dbug="+d,emulate_geometry_create_typecast_item"; +SELECT AsText(CAST('POINT(0 0)' AS GEOMETRY)); +SET SESSION debug_dbug="-d,emulate_geometry_create_typecast_item"; + + --echo # --echo # End of 10.5 tests --echo # -- cgit v1.2.1