diff options
author | unknown <monty@mysql.com> | 2004-03-16 00:42:10 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-03-16 00:42:10 +0200 |
commit | 0952bf2da5a8adf26794b730f98bfa18f95d28db (patch) | |
tree | 4fb956f41d3d1d9d7e092a6304f23aeafada895f /sql/spatial.h | |
parent | 0dbf737aa2ef118a92bcfd6a0ddc91cb92f30e0a (diff) | |
download | mariadb-git-0952bf2da5a8adf26794b730f98bfa18f95d28db.tar.gz |
Fixed memory overrun in spatial init code
sql/spatial.cc:
Fixed memory overrun
sql/spatial.h:
Fixed memory overrun
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index 26396dd0f90..213bbbf6323 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -251,7 +251,7 @@ public: } bool envelope(String *result) const; - static Geometry::Class_info *ci_collection[Geometry::wkb_end]; + static Geometry::Class_info *ci_collection[Geometry::wkb_end+1]; protected: static Class_info *find_class(int type_id) |