diff options
author | unknown <serg@serg.mylan> | 2005-09-08 22:57:27 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-09-08 22:57:27 +0200 |
commit | afbdcd413adf6ff5b15de0e9c5d332aecf66850e (patch) | |
tree | 3013635bda53ace5b5b32b221d26d1a0f62b76b9 /sql/item_cmpfunc.h | |
parent | 745181ce2023908df3657e7514e0681b7c0857b5 (diff) | |
download | mariadb-git-afbdcd413adf6ff5b15de0e9c5d332aecf66850e.tar.gz |
BUG#12695: Item_func_isnull::update_used_tables did not update const_item_cache
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 47884f6064e..bb4759918ff 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -805,7 +805,7 @@ public: else { args[0]->update_used_tables(); - if (!(used_tables_cache=args[0]->used_tables())) + if ((const_item_cache= !(used_tables_cache= args[0]->used_tables()))) { /* Remember if the value is always NULL or never NULL */ cached_value= (longlong) args[0]->is_null(); |