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
d7316689
Commit
d7316689
authored
Feb 18, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/mysql-3.23
into sanja.is.com.ua:/home/bell/mysql/work-3.23
parents
203728ae
4c836e8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
sql/item_cmpfunc.h
sql/item_cmpfunc.h
+10
-8
No files found.
sql/item_cmpfunc.h
View file @
d7316689
...
...
@@ -449,17 +449,19 @@ public:
void
update_used_tables
()
{
if
(
!
args
[
0
]
->
maybe_null
)
used_tables_cache
=
0
;
/* is always false */
else
{
args
[
0
]
->
update_used_tables
();
used_tables_cache
=
args
[
0
]
->
used_tables
()
;
used_tables_cache
=
0
;
/* is always false */
cached_value
=
(
longlong
)
0
;
}
if
(
!
used_tables_cache
)
else
{
/* Remember if the value is always NULL or never NULL */
args
[
0
]
->
val
();
cached_value
=
args
[
0
]
->
null_value
?
(
longlong
)
1
:
(
longlong
)
0
;
args
[
0
]
->
update_used_tables
();
if
(
!
(
used_tables_cache
=
args
[
0
]
->
used_tables
()))
{
/* Remember if the value is always NULL or never NULL */
args
[
0
]
->
val
();
cached_value
=
args
[
0
]
->
null_value
?
(
longlong
)
1
:
(
longlong
)
0
;
}
}
}
optimize_type
select_optimize
()
const
{
return
OPTIMIZE_NULL
;
}
...
...
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