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
0abfaa98
Commit
0abfaa98
authored
Dec 12, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #2093
Update after discussion with Monty
parent
e6e0937d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
sql/sql_select.cc
sql/sql_select.cc
+0
-7
No files found.
sql/sql_select.cc
View file @
0abfaa98
...
@@ -1803,14 +1803,7 @@ update_ref_and_keys(THD *thd, DYNAMIC_ARRAY *keyuse,JOIN_TAB *join_tab,
...
@@ -1803,14 +1803,7 @@ update_ref_and_keys(THD *thd, DYNAMIC_ARRAY *keyuse,JOIN_TAB *join_tab,
}
}
/* fill keyuse with found key parts */
/* fill keyuse with found key parts */
for
(;
field
!=
end
;
field
++
)
for
(;
field
!=
end
;
field
++
)
{
add_key_part
(
keyuse
,
field
);
add_key_part
(
keyuse
,
field
);
/* Mark that we can optimize LEFT JOIN */
if
(
field
->
field
->
table
==
join_tab
->
table
&&
field
->
val
->
type
()
==
Item
::
NULL_ITEM
&&
!
field
->
field
->
real_maybe_null
())
join_tab
->
table
->
reginfo
.
not_exists_optimize
=
1
;
}
}
}
if
(
thd
->
lex
.
select
->
ftfunc_list
.
elements
)
if
(
thd
->
lex
.
select
->
ftfunc_list
.
elements
)
...
...
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