diff options
author | unknown <hf@deer.(none)> | 2004-12-10 16:06:49 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-12-10 16:06:49 +0400 |
commit | 95056a0b657b6d4f3a9106e4f21dfdf348da3690 (patch) | |
tree | fac5d0ecf6bba7008a8028e86bee3f9cee4960a1 /include/my_base.h | |
parent | 7a60d1558a89df5f198884d360a14bf2b48f2c49 (diff) | |
download | mariadb-git-95056a0b657b6d4f3a9106e4f21dfdf348da3690.tar.gz |
Fix for bug #6516 (Server crash loading spatial data)
(after discussion with SerG)
include/my_base.h:
Handler error code added
myisam/mi_write.c:
New error code handled
myisam/rt_index.c:
check for zero length added
myisam/sp_key.c:
zero length check added
mysql-test/r/gis-rtree.result:
appropriate test result
mysql-test/t/gis-rtree.test:
test case
sql/handler.cc:
new error code handling added
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h index d884113dc4d..7290d0da09b 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -291,6 +291,7 @@ enum ha_base_keytype { #define HA_ERR_NO_SUCH_TABLE 155 /* The table does not exist in engine */ #define HA_ERR_TABLE_EXIST 156 /* The table existed in storage engine */ #define HA_ERR_NO_CONNECTION 157 /* Could not connect to storage engine */ +#define HA_ERR_NULL_IN_SPATIAL 158 /* NULLs are not supported in spatial index */ /* Other constants */ |