diff options
author | igor@rurik.mysql.com <> | 2003-12-01 13:59:09 -0800 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2003-12-01 13:59:09 -0800 |
commit | dcbbbe6b947752a6b15f0fbec1bdaa4821a99f62 (patch) | |
tree | 79a048b4126de29f6a79665954947219f2dbbb19 /sql/item_cmpfunc.h | |
parent | f266cdabab538eeb87682af70d5e76652ee6387b (diff) | |
download | mariadb-git-dcbbbe6b947752a6b15f0fbec1bdaa4821a99f62.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).
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 1 |
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 |