diff options
author | unknown <hf@deer.(none)> | 2004-03-16 14:59:22 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-03-16 14:59:22 +0400 |
commit | 26d0c4b1b4b78971e95b78117e2401c658ef1aa0 (patch) | |
tree | 55decae2a516ff1d04ff9eb9e940b4b6a0d12c2c /mysql-test/r/gis.result | |
parent | f5b1078b1cac4ec038a669848513440de0d912e1 (diff) | |
download | mariadb-git-26d0c4b1b4b78971e95b78117e2401c658ef1aa0.tar.gz |
Fix for #233 (final part)
mysql-test/r/gis.result:
test result added
mysql-test/t/gis.test:
test case added
sql/field.h:
now set_field_to_null can return -1
sql/field_conv.cc:
now set_field_to_null* can return -1
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r-- | mysql-test/r/gis.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result index 89831e8ac88..3a7b2b98751 100644 --- a/mysql-test/r/gis.result +++ b/mysql-test/r/gis.result @@ -458,3 +458,9 @@ id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used Warnings: Note 1003 select high_priority issimple(multipoint(point(3,6),point(4,10))) AS `issimple(MultiPoint(Point(3, 6), Point(4, 10)))`,issimple(point(3,6)) AS `issimple(Point(3, 6))` +create table t1 (a geometry not null); +insert into t1 values (GeomFromText('Point(1 2)')); +insert into t1 values ('Garbage'); +ERROR HY000: Unknown error +alter table t1 add spatial index(a); +drop table t1; |