diff options
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r-- | sql/spatial.cc | 2 |
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 *)): |