summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
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 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