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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cec2e8a6
Commit
cec2e8a6
authored
Jan 25, 2007
by
sergefp@pylon.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/psergey/mysql-5.0-bug8804-r12
into mysql.com:/home/psergey/mysql-5.1-bug8804-r12-merge
parents
5bc7d596
4908cf07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_select.cc
sql/sql_select.cc
+2
-2
No files found.
sql/sql_select.cc
View file @
cec2e8a6
...
@@ -3004,14 +3004,14 @@ add_key_fields(JOIN *join, KEY_FIELD **key_fields, uint *and_level,
...
@@ -3004,14 +3004,14 @@ add_key_fields(JOIN *join, KEY_FIELD **key_fields, uint *and_level,
if
(
cond
->
type
()
==
Item
::
FUNC_ITEM
&&
if
(
cond
->
type
()
==
Item
::
FUNC_ITEM
&&
((
Item_func
*
)
cond
)
->
functype
()
==
Item_func
::
TRIG_COND_FUNC
)
((
Item_func
*
)
cond
)
->
functype
()
==
Item_func
::
TRIG_COND_FUNC
)
{
{
cond
=
((
Item_func
*
)
cond
)
->
arguments
()[
0
];
Item
*
cond_arg
=
((
Item_func
*
)
cond
)
->
arguments
()[
0
];
if
(
!
join
->
group_list
&&
!
join
->
order
&&
if
(
!
join
->
group_list
&&
!
join
->
order
&&
join
->
unit
->
item
&&
join
->
unit
->
item
&&
join
->
unit
->
item
->
substype
()
==
Item_subselect
::
IN_SUBS
&&
join
->
unit
->
item
->
substype
()
==
Item_subselect
::
IN_SUBS
&&
!
join
->
unit
->
first_select
()
->
next_select
())
!
join
->
unit
->
first_select
()
->
next_select
())
{
{
KEY_FIELD
*
save
=
*
key_fields
;
KEY_FIELD
*
save
=
*
key_fields
;
add_key_fields
(
join
,
key_fields
,
and_level
,
cond
,
usable_tables
,
add_key_fields
(
join
,
key_fields
,
and_level
,
cond
_arg
,
usable_tables
,
sargables
);
sargables
);
// Indicate that this ref access candidate is for subquery lookup:
// Indicate that this ref access candidate is for subquery lookup:
for
(;
save
!=
*
key_fields
;
save
++
)
for
(;
save
!=
*
key_fields
;
save
++
)
...
...
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