diff options
author | unknown <hf@deer.(none)> | 2004-09-22 22:36:53 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-09-22 22:36:53 +0500 |
commit | 57517f3aca11ead3d0890424d14d8c639552de78 (patch) | |
tree | aa41988964c204abc8e7cd531addfd35f09a1f7d /mysql-test/t/gis.test | |
parent | b0ea574bc40186bcd32949c95339dd49e6fc83ca (diff) | |
download | mariadb-git-57517f3aca11ead3d0890424d14d8c639552de78.tar.gz |
Additional fix for bug #5136 (Geometry object is corrupted when queried)
CREATE TABLE t1 SELECT POINT(1,2); fixed
mysql-test/r/gis.result:
Appropriate test result
mysql-test/t/gis.test:
test case
sql/item_geofunc.cc:
Item_geometry_func::fix_lengths_and_dec implementation
several fix_length_and_dec's not needed now
sql/item_geofunc.h:
Item_geometry_func class presented
Diffstat (limited to 'mysql-test/t/gis.test')
-rw-r--r-- | mysql-test/t/gis.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/gis.test b/mysql-test/t/gis.test index e35b9996a44..30da019be3e 100644 --- a/mysql-test/t/gis.test +++ b/mysql-test/t/gis.test @@ -190,3 +190,7 @@ select AsText(a) from t1 where and MBRContains(GeomFromText('Polygon((0 0, 0 7, 7 7, 7 0, 0 0))'), a); drop table t1; + +create table t1 select POINT(1,3); +show create table t1; +drop table t1; |