diff options
author | gshchepa/uchum@gleb.loc <> | 2007-07-07 20:14:06 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-07-07 20:14:06 +0500 |
commit | e657075fcb6e5ca65cb0d84ad77266ef096f6493 (patch) | |
tree | a95fb8d593c69b8db4fa05ae09a5b11c223c117c /mysql-test/t/gis.test | |
parent | 23a30b0c0aea7e7c2365cb375da85ccaaf362e07 (diff) | |
parent | 5b1e1eeae5f0743d8f8f01010211432a17bb04b3 (diff) | |
download | mariadb-git-e657075fcb6e5ca65cb0d84ad77266ef096f6493.tar.gz |
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index 426eec4be6d..d7182e36e3a 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -571,6 +571,26 @@ create table t2 as select f2 as a from t1 union select f3 from t1; desc t2; select AsText(a) from t2; drop table t1, t2; + +# +# Bug #29166: MYsql crash when query is run +# + +# The test query itself is not logged : too large output. +# The real test is the second query : see if the first hasn't crashed the +# server +--disable_query_log +--disable_result_log +SELECT AsText(GeometryFromText(CONCAT( + 'MULTIPOLYGON(((', + REPEAT ('-0.00000000001234567890123456789012 -0.123456789012345678,', 1000), + '-0.00000000001234567890123456789012 -0.123456789012345678', + ')))' +))) AS a; +--enable_result_log +--enable_query_log +SELECT 1; + --echo End of 5.0 tests |