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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
641644a8
Commit
641644a8
authored
Nov 01, 2015
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-8992 MariaDB crashes when accessing table with GIS features.
we don't test for not-existing gis extra in FRM.
parent
3e043b30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sql/field.cc
sql/field.cc
+3
-0
No files found.
sql/field.cc
View file @
641644a8
...
@@ -8326,6 +8326,9 @@ uint gis_field_options_read(const uchar *buf, uint buf_len,
...
@@ -8326,6 +8326,9 @@ uint gis_field_options_read(const uchar *buf, uint buf_len,
*
precision
=
*
scale
=
*
srid
=
0
;
*
precision
=
*
scale
=
*
srid
=
0
;
*
st_type
=
Field_geom
::
GEOM_STORAGE_WKB
;
*
st_type
=
Field_geom
::
GEOM_STORAGE_WKB
;
if
(
!
buf
)
/* can only happen with the old FRM file */
goto
end_of_record
;
while
(
cbuf
<
buf_end
)
while
(
cbuf
<
buf_end
)
{
{
switch
((
option_id
=
*
(
cbuf
++
)))
switch
((
option_id
=
*
(
cbuf
++
)))
...
...
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