summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result23
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index df773a15ec2..5e6716b94de 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -4318,5 +4318,28 @@ t1 CREATE TABLE `t1` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE t1;
#
+# MDEV-12854 Synchronize CREATE..SELECT data type and result set metadata data type for INT functions
+#
+SELECT
+ST_ISSIMPLE(POINT(1,1)),
+ST_ISRING(POINT(1,1)),
+ST_ISCLOSED(POINT(1,1)),
+ST_DIMENSION(POINT(1,1)),
+ST_NUMGEOMETRIES(POINT(1,1)),
+ST_NUMINTERIORRINGS(POINT(1,1)),
+ST_NUMPOINTS(POINT(1,1)),
+ST_SRID(POINT(1,1));
+Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
+def ST_ISSIMPLE(POINT(1,1)) 3 2 1 Y 32896 0 63
+def ST_ISRING(POINT(1,1)) 3 2 2 Y 32896 0 63
+def ST_ISCLOSED(POINT(1,1)) 3 2 2 Y 32896 0 63
+def ST_DIMENSION(POINT(1,1)) 3 10 1 Y 32896 0 63
+def ST_NUMGEOMETRIES(POINT(1,1)) 3 10 0 Y 32896 0 63
+def ST_NUMINTERIORRINGS(POINT(1,1)) 3 10 0 Y 32896 0 63
+def ST_NUMPOINTS(POINT(1,1)) 3 10 0 Y 32896 0 63
+def ST_SRID(POINT(1,1)) 3 10 1 Y 32896 0 63
+ST_ISSIMPLE(POINT(1,1)) ST_ISRING(POINT(1,1)) ST_ISCLOSED(POINT(1,1)) ST_DIMENSION(POINT(1,1)) ST_NUMGEOMETRIES(POINT(1,1)) ST_NUMINTERIORRINGS(POINT(1,1)) ST_NUMPOINTS(POINT(1,1)) ST_SRID(POINT(1,1))
+1 -1 -1 0 NULL NULL NULL 0
+#
# End of 10.3 tests
#