summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2003-12-01 16:12:05 -0800
committerigor@rurik.mysql.com <>2003-12-01 16:12:05 -0800
commit441ad81b48475e57860a80daeaacddfd4e12dedb (patch)
treee7f5bbf240b28a274f0aa5eeec91dcbafb18c694 /sql
parent82270288de9244ff2b1ae5a58d66add2a13d6e70 (diff)
downloadmariadb-git-441ad81b48475e57860a80daeaacddfd4e12dedb.tar.gz
join_outer.result, null.result, null.test:
Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990). item_cmpfunc.h: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990).
Diffstat (limited to 'sql')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index dac7a2d43eb..3f7e77160a7 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -753,6 +753,7 @@ public:
if (!args[0]->maybe_null)
{
used_tables_cache= 0; /* is always false */
+ const_item_cache= 1;
cached_value= (longlong) 0;
}
else