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
01fcf04d
Commit
01fcf04d
authored
May 21, 2005
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc:
Added missing comment for fix of #10561.
parent
e4006f2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
sql/sql_select.cc
sql/sql_select.cc
+5
-0
No files found.
sql/sql_select.cc
View file @
01fcf04d
...
@@ -2825,6 +2825,11 @@ add_key_fields(KEY_FIELD **key_fields,uint *and_level,
...
@@ -2825,6 +2825,11 @@ add_key_fields(KEY_FIELD **key_fields,uint *and_level,
if
(
cond_func
->
functype
()
==
Item_func
::
NOT_FUNC
)
if
(
cond_func
->
functype
()
==
Item_func
::
NOT_FUNC
)
{
{
Item
*
item
=
cond_func
->
arguments
()[
0
];
Item
*
item
=
cond_func
->
arguments
()[
0
];
/*
At this moment all NOT before simple comparison predicates
are eliminated. NOT IN and NOT BETWEEN are treated similar
IN and BETWEEN respectively.
*/
if
(
item
->
type
()
==
Item
::
FUNC_ITEM
&&
if
(
item
->
type
()
==
Item
::
FUNC_ITEM
&&
((
Item_func
*
)
item
)
->
select_optimize
()
==
Item_func
::
OPTIMIZE_KEY
)
((
Item_func
*
)
item
)
->
select_optimize
()
==
Item_func
::
OPTIMIZE_KEY
)
{
{
...
...
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