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
7240c97d
Commit
7240c97d
authored
Aug 24, 2006
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt_range.cc:
Corrected fix for bug#18165
parent
1e9b5cea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sql/opt_range.cc
sql/opt_range.cc
+3
-4
No files found.
sql/opt_range.cc
View file @
7240c97d
...
...
@@ -3586,8 +3586,7 @@ static SEL_TREE *get_func_mm_tree(PARAM *param, Item_func *cond_func,
case
Item_func
:
:
BETWEEN
:
{
int
i
=
(
int
)
value
;
if
(
!
i
)
if
(
!
value
)
{
if
(
inv
)
{
...
...
@@ -3610,8 +3609,8 @@ static SEL_TREE *get_func_mm_tree(PARAM *param, Item_func *cond_func,
else
tree
=
get_mm_parts
(
param
,
cond_func
,
field
,
(
inv
?
(
i
==
1
?
Item_func
::
GT_FUNC
:
Item_func
::
LT_FUNC
)
:
(
i
==
1
?
Item_func
::
LE_FUNC
:
Item_func
::
GE_FUNC
)),
(
value
==
1
?
Item_func
::
GT_FUNC
:
Item_func
::
LT_FUNC
)
:
(
value
==
1
?
Item_func
::
LE_FUNC
:
Item_func
::
GE_FUNC
)),
cond_func
->
arguments
()[
0
],
cmp_type
);
break
;
}
...
...
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