summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2004-08-20 23:48:30 -0700
committerigor@rurik.mysql.com <>2004-08-20 23:48:30 -0700
commit4b760fcb94cd06a9e344c829075043c7b8bc2898 (patch)
tree5ece749a5af4e0c83b641ea542795cfcadac30cb /sql
parent02e93b5758f6b2f06365ee711a223e9e579c82e3 (diff)
downloadmariadb-git-4b760fcb94cd06a9e344c829075043c7b8bc2898.tar.gz
null.test, null.result:
Added test case for bug #4256. join_outer.result: Fixed bug #4256. item_cmpfunc.h: Fixed inconsistency of values of used_tables_cache and const_item_cache for Item_func_isnull objects. This inconsistency caused bug #4256.
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 a0bcd864d4b..236ebb8d28b 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -469,6 +469,7 @@ public:
if (!args[0]->maybe_null)
{
used_tables_cache= 0; /* is always false */
+ const_item_cache= 1;
cached_value= (longlong) 0;
}
else