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
fbb22ca4
Commit
fbb22ca4
authored
Nov 18, 2011
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unused variable removed.
parent
47022d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/item_geofunc.cc
sql/item_geofunc.cc
+1
-2
No files found.
sql/item_geofunc.cc
View file @
fbb22ca4
...
@@ -1666,7 +1666,7 @@ longlong Item_func_srid::val_int()
...
@@ -1666,7 +1666,7 @@ longlong Item_func_srid::val_int()
double
Item_func_distance
::
val_real
()
double
Item_func_distance
::
val_real
()
{
{
bool
above_cur_point
,
cur_point_edge
;
bool
cur_point_edge
;
const
Gcalc_scan_iterator
::
point
*
evpos
;
const
Gcalc_scan_iterator
::
point
*
evpos
;
const
Gcalc_heap
::
Info
*
cur_point
,
*
dist_point
;
const
Gcalc_heap
::
Info
*
cur_point
,
*
dist_point
;
const
Gcalc_scan_iterator
::
event_point
*
ev
;
const
Gcalc_scan_iterator
::
event_point
*
ev
;
...
@@ -1721,7 +1721,6 @@ double Item_func_distance::val_real()
...
@@ -1721,7 +1721,6 @@ double Item_func_distance::val_real()
collector
.
prepare_operation
();
collector
.
prepare_operation
();
scan_it
.
init
(
&
collector
);
scan_it
.
init
(
&
collector
);
above_cur_point
=
false
;
distance
=
DBL_MAX
;
distance
=
DBL_MAX
;
while
(
scan_it
.
more_points
())
while
(
scan_it
.
more_points
())
{
{
...
...
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