From f2ef7e1a32743cf86f4b5be90ed6b445919c944b Mon Sep 17 00:00:00 2001 From: "hf@deer.(none)" <> Date: Tue, 16 Mar 2004 01:50:35 +0400 Subject: [PATCH] Yet another fix for spatial parts --- sql/spatial.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *)):