summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-10-03 13:35:35 +0500
committerunknown <holyfoot/hf@mysql.com/hfmain.(none)>2007-10-03 13:35:35 +0500
commitae3d4bfc0e5dc8c88ce93496bf01018ea2b298bf (patch)
treeb90be499964cfb3ac22a30245fc2c5abafdb9396 /mysql-test/r/gis.result
parent732f05a642279a569c6ed2b67fafff05b9de76c3 (diff)
downloadmariadb-git-ae3d4bfc0e5dc8c88ce93496bf01018ea2b298bf.tar.gz
Bug #30955 geomfromtext() crasher.
end-of-line check missed in Gis_read_stream::get_next_word, what can lead to crashes (expecially with NULL strings). End-of-line check added sql/gstream.cc: Bug #30955 geomfromtext() crasher mysql-test/r/gis.result: Bug #30955 geomfromtext() crasher. test result mysql-test/t/gis.test: Bug #30955 geomfromtext() crasher. test case
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 643a3d6b434..55f70e59fcf 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -724,4 +724,10 @@ SELECT * FROM t1;
a
NULL
DROP TABLE t1;
+CREATE TABLE `t1` ( `col9` set('a'), `col89` date);
+INSERT INTO `t1` VALUES ('','0000-00-00');
+select geomfromtext(col9,col89) as a from t1;
+a
+NULL
+DROP TABLE t1;
End of 4.1 tests