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
3005323e
Commit
3005323e
authored
Apr 07, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/psergey/mysql-4.1-bug8877
into mysql.com:/home/psergey/mysql-5.0-bug8877-merge
parents
b591d343
0cd5877b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/sql_select.cc
sql/sql_select.cc
+5
-5
No files found.
sql/sql_select.cc
View file @
3005323e
...
...
@@ -5171,14 +5171,14 @@ static void add_not_null_conds(JOIN *join)
DBUG_ASSERT
(
item
->
type
()
==
Item
::
FIELD_ITEM
);
Item_field
*
not_null_item
=
(
Item_field
*
)
item
;
JOIN_TAB
*
referred_tab
=
not_null_item
->
field
->
table
->
reginfo
.
join_tab
;
Item_func_isnotnull
*
n
ull_rej
;
if
(
!
(
n
ull_rej
=
new
Item_func_isnotnull
(
not_null_item
)))
Item_func_isnotnull
*
n
otnull
;
if
(
!
(
n
otnull
=
new
Item_func_isnotnull
(
not_null_item
)))
DBUG_VOID_RETURN
;
n
ull_rej
->
quick_fix_field
();
DBUG_EXECUTE
(
"where"
,
print_where
(
n
ull_rej
,
n
otnull
->
quick_fix_field
();
DBUG_EXECUTE
(
"where"
,
print_where
(
n
otnull
,
referred_tab
->
table
->
alias
););
add_cond_and_fix
(
&
referred_tab
->
select_cond
,
n
ull_rej
);
add_cond_and_fix
(
&
referred_tab
->
select_cond
,
n
otnull
);
}
}
}
...
...
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