summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2003-12-01 13:59:09 -0800
committerunknown <igor@rurik.mysql.com>2003-12-01 13:59:09 -0800
commit17119e6de3bb9fa3c10e73c38474b13c3cdaa002 (patch)
tree79a048b4126de29f6a79665954947219f2dbbb19 /sql/item_cmpfunc.h
parent91de6fdbce2a5c545532acf1124f35378a75ea0c (diff)
downloadmariadb-git-17119e6de3bb9fa3c10e73c38474b13c3cdaa002.tar.gz
join_outer.result, null.result, null.test, item_cmpfunc.h:
Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990). sql/item_cmpfunc.h: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990). mysql-test/t/null.test: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990). mysql-test/r/null.result: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990). mysql-test/r/join_outer.result: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects (bug #1990).
Diffstat (limited to 'sql/item_cmpfunc.h')
-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 dc017cef73c..541bc47557d 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -746,6 +746,7 @@ public:
if (!args[0]->maybe_null)
{
used_tables_cache= 0; /* is always false */
+ const_item_cache= 1;
cached_value= (longlong) 0;
}
else