summaryrefslogtreecommitdiff
path: root/mysql-test/main/gis-debug.result
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-07-10 11:55:16 +0400
committerAlexander Barkov <bar@mariadb.com>2019-07-10 11:55:16 +0400
commit265a7d1613d29e2bdd4c91a5a75971b331519dbe (patch)
treeb053ea8bc389ff1bd7a6a8d9a750cdc71c0d8f43 /mysql-test/main/gis-debug.result
parente37d7a37151f1aa53e102d24af5d234c2ccfa392 (diff)
downloadmariadb-git-265a7d1613d29e2bdd4c91a5a75971b331519dbe.tar.gz
MDEV-20009 Add CAST(expr AS pluggable_type)
Diffstat (limited to 'mysql-test/main/gis-debug.result')
-rw-r--r--mysql-test/main/gis-debug.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/main/gis-debug.result b/mysql-test/main/gis-debug.result
index 8935c256068..f490a720ecf 100644
--- a/mysql-test/main/gis-debug.result
+++ b/mysql-test/main/gis-debug.result
@@ -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
#