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
296b450d
Commit
296b450d
authored
Jan 11, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the comment.
parent
cf31ccc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
sql/sql_select.cc
sql/sql_select.cc
+2
-4
No files found.
sql/sql_select.cc
View file @
296b450d
...
...
@@ -14948,10 +14948,8 @@ do_select(JOIN *join,List<Item> *fields,TABLE *table,Procedure *procedure)
But WHERE should checked here (we alredy have read tables).
Notice that make_join_select() splits all conditions in this case
into two groups exec_const_cond and outer_ref_cond.
Within this other conditions are not exists. At the same time
exec_const_cond is already checked either by make_join_select or in the
beginning of JOIN::exec. Therefore here it is sufficient to check only
pseudo_bits_cond.
If join->table_count == join->const_tables then it is
sufficient to check only the condition pseudo_bits_cond.
*/
DBUG_ASSERT
(
join
->
outer_ref_cond
==
NULL
);
if
(
!
join
->
pseudo_bits_cond
||
join
->
pseudo_bits_cond
->
val_int
())
...
...
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