diff options
author | serg@serg.mylan <> | 2005-09-08 22:57:27 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-09-08 22:57:27 +0200 |
commit | a7f2179c29b6a168c853b6fe0dece13c963bc288 (patch) | |
tree | 3013635bda53ace5b5b32b221d26d1a0f62b76b9 /sql/item_cmpfunc.h | |
parent | 5fa2cea16f0f58bc89deee8b7346d5e1399b97d9 (diff) | |
download | mariadb-git-a7f2179c29b6a168c853b6fe0dece13c963bc288.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(); |