diff options
author | unknown <igor@rurik.mysql.com> | 2004-08-20 23:48:30 -0700 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2004-08-20 23:48:30 -0700 |
commit | c1fd20bb5ed75b4d6df24703e0b26a488eac4a3b (patch) | |
tree | 5ece749a5af4e0c83b641ea542795cfcadac30cb /sql | |
parent | 4f0e2da3169968b826f0b180dfe5de0ca99b40b9 (diff) | |
download | mariadb-git-c1fd20bb5ed75b4d6df24703e0b26a488eac4a3b.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.
sql/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.
mysql-test/r/join_outer.result:
Fixed bug #4256.
mysql-test/r/null.result:
Added test case for bug #4256.
mysql-test/t/null.test:
Added test case for bug #4256.
Diffstat (limited to 'sql')
-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 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 |