summaryrefslogtreecommitdiff
path: root/mysql-test/t/gis.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-04-22 22:51:43 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-22 22:51:43 +0400
commitfac2a7a85dab10ef6cc7628f635fe5a3736514a6 (patch)
tree2519271f97ae9838fb0ef196aabe2437726e2219 /mysql-test/t/gis.test
parent97fb1f26797828427ad850b0420aaafc74205e71 (diff)
downloadmariadb-git-fac2a7a85dab10ef6cc7628f635fe5a3736514a6.tar.gz
MDEV-12495 Conditional jump depends on uninitialised value for: SELECT NULL UNION geom_expression
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r--mysql-test/t/gis.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test
index 9378ea55377..f689902533a 100644
--- a/mysql-test/t/gis.test
+++ b/mysql-test/t/gis.test
@@ -1492,3 +1492,16 @@ SELECT ASTEXT(p) FROM v1;
DROP VIEW v1;
# --echo End of 5.5 tests
+
+--echo #
+--echo # Start of 10.0 tests
+--echo #
+
+--echo #
+--echo # MDEV-12495 Conditional jump depends on uninitialised value for: SELECT NULL UNION geom_expression
+--echo #
+SELECT AsText(g) FROM (SELECT NULL AS g UNION SELECT Point(1,1)) AS t1;
+
+--echo #
+--echo # End 10.0 tests
+--echo #