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
4abab51c
Commit
4abab51c
authored
Feb 02, 2006
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-review fix for bug #14927.
parent
cc2fae52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/sql_select.cc
sql/sql_select.cc
+6
-0
No files found.
sql/sql_select.cc
View file @
4abab51c
...
@@ -504,6 +504,12 @@ JOIN::optimize()
...
@@ -504,6 +504,12 @@ JOIN::optimize()
{
{
Item
::
cond_result
having_value
;
Item
::
cond_result
having_value
;
having
=
optimize_cond
(
thd
,
having
,
&
having_value
);
having
=
optimize_cond
(
thd
,
having
,
&
having_value
);
if
(
thd
->
net
.
report_error
)
{
error
=
1
;
DBUG_PRINT
(
"error"
,(
"Error from optimize_cond"
));
DBUG_RETURN
(
1
);
}
if
(
cond_value
==
Item
::
COND_FALSE
||
having_value
==
Item
::
COND_FALSE
||
if
(
cond_value
==
Item
::
COND_FALSE
||
having_value
==
Item
::
COND_FALSE
||
(
!
unit
->
select_limit_cnt
&&
!
(
select_options
&
OPTION_FOUND_ROWS
)))
(
!
unit
->
select_limit_cnt
&&
!
(
select_options
&
OPTION_FOUND_ROWS
)))
...
...
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