summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-03-16 01:50:35 +0400
committerhf@deer.(none) <>2004-03-16 01:50:35 +0400
commitf2ef7e1a32743cf86f4b5be90ed6b445919c944b (patch)
tree49b83a878372de90167b9b1d73e7f8bed4e20a4b /sql/spatial.cc
parent54167da4b0d9270235c93552e24a30ed7b5c97db (diff)
downloadmariadb-git-f2ef7e1a32743cf86f4b5be90ed6b445919c944b.tar.gz
Yet another fix for spatial parts
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index f98799e26d1..ec6bfb307b9 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -25,7 +25,7 @@ Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_end]=
};
static Geometry::Class_info **ci_collection_end=
- Geometry::ci_collection+Geometry::wkb_end;
+ Geometry::ci_collection+Geometry::wkb_end + 1;
Geometry::Class_info::Class_info(const char *name, int type_id,
void(*create_func)(void *)):