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
508d40fb
Commit
508d40fb
authored
Oct 10, 2013
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-4788 check mysql-5.5 changes in spatial.cc.
Additional patch for the 5.5.
parent
ae826010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/spatial.cc
sql/spatial.cc
+2
-2
No files found.
sql/spatial.cc
View file @
508d40fb
...
@@ -793,7 +793,7 @@ int Gis_line_string::store_shapes(Gcalc_shape_transporter *trn) const
...
@@ -793,7 +793,7 @@ int Gis_line_string::store_shapes(Gcalc_shape_transporter *trn) const
return
1
;
return
1
;
n_points
=
uint4korr
(
data
);
n_points
=
uint4korr
(
data
);
data
+=
4
;
data
+=
4
;
if
(
n_points
<
1
||
no
_data
(
data
,
POINT_DATA_SIZE
*
n_points
))
if
(
n_points
<
1
||
no
t_enough_points
(
data
,
n_points
))
return
1
;
return
1
;
trn
->
start_line
();
trn
->
start_line
();
...
@@ -1230,7 +1230,7 @@ int Gis_polygon::store_shapes(Gcalc_shape_transporter *trn) const
...
@@ -1230,7 +1230,7 @@ int Gis_polygon::store_shapes(Gcalc_shape_transporter *trn) const
return
1
;
return
1
;
n_points
=
uint4korr
(
data
);
n_points
=
uint4korr
(
data
);
data
+=
4
;
data
+=
4
;
if
(
!
n_points
||
no
_data
(
data
,
POINT_DATA_SIZE
*
n_points
))
if
(
!
n_points
||
no
t_enough_points
(
data
,
n_points
))
return
1
;
return
1
;
trn
->
start_ring
();
trn
->
start_ring
();
...
...
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