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
55575bea
Commit
55575bea
authored
Nov 22, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixed
parent
a80c3204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
sql/sql_select.cc
sql/sql_select.cc
+1
-5
No files found.
sql/sql_select.cc
View file @
55575bea
...
@@ -2626,11 +2626,7 @@ add_key_field(KEY_FIELD **key_fields, uint and_level, COND *cond,
...
@@ -2626,11 +2626,7 @@ add_key_field(KEY_FIELD **key_fields, uint and_level, COND *cond,
bool
is_const
=
1
;
bool
is_const
=
1
;
for
(
uint
i
=
0
;
i
<
num_values
;
i
++
)
for
(
uint
i
=
0
;
i
<
num_values
;
i
++
)
/*
is_const
&=
(
value
[
i
])
->
const_item
();
TODO: This looks like a bug. It should be
is_const&= (value[i])->const_item();
*/
is_const
&=
(
*
value
)
->
const_item
();
if
(
is_const
)
if
(
is_const
)
stat
[
0
].
const_keys
.
merge
(
possible_keys
);
stat
[
0
].
const_keys
.
merge
(
possible_keys
);
/*
/*
...
...
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