Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a6ba9f3c
Commit
a6ba9f3c
authored
Mar 16, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed memory overrun in spatial init code
parent
56af3931
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/spatial.cc
sql/spatial.cc
+1
-1
sql/spatial.h
sql/spatial.h
+1
-1
No files found.
sql/spatial.cc
View file @
a6ba9f3c
...
...
@@ -19,7 +19,7 @@
/***************************** Gis_class_info *******************************/
Geometry
::
Class_info
*
Geometry
::
ci_collection
[
Geometry
::
wkb_end
]
=
Geometry
::
Class_info
*
Geometry
::
ci_collection
[
Geometry
::
wkb_end
+
1
]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
...
...
sql/spatial.h
View file @
a6ba9f3c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment