diff options
author | Venkata Sidagam <venkata.sidagam@oracle.com> | 2013-12-19 16:08:38 +0530 |
---|---|---|
committer | Venkata Sidagam <venkata.sidagam@oracle.com> | 2013-12-19 16:08:38 +0530 |
commit | 5a90f24cae4f0b3a696508911903c48fdee41daa (patch) | |
tree | 3e4e1e4f3f6867622ed70607ff48ed4cc79fadf4 /mysql-test/t/gis.test | |
parent | b430aabae3eef2a3fb6b0ca73761ae3ca328ae8e (diff) | |
download | mariadb-git-5a90f24cae4f0b3a696508911903c48fdee41daa.tar.gz |
Bug #17780290 PUBLISH THE GIS TEST FOR BUG#16451878
Adding the test cases for the BUG#16451878.
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index d10192aa3c5..b16de7d323b 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -868,4 +868,22 @@ SELECT 1 FROM g1 WHERE a >= ANY DROP TABLE g1; +--echo # +--echo # Bug#16451878 GEOMETRY QUERY CRASHES SERVER +--echo # + +--echo # should not crash +SELECT ASTEXT(0x0100000000030000000100000000000010); + +--echo #should not crash +SELECT ENVELOPE(0x0100000000030000000100000000000010); + +--echo #should not crash +SELECT + GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffff0000, 1); + +--echo #should not crash +SELECT + GEOMETRYN(0x0100000000070000000100000001030000000200000000000000ffffff0f, 1); + --echo End of 5.5 tests |