summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-08-26 18:22:22 +0200
committerserg@serg.mylan <>2004-08-26 18:22:22 +0200
commit08f3ba0e29aefb9aae54534fcd9f799eccf8ffc6 (patch)
tree3e3e91346cc6f95a8628a4dbaaacb94646c02511 /sql/item_row.cc
parent5633414c8fe3ad9630f75c1d6fd8d78596c6ab8e (diff)
downloadmariadb-git-08f3ba0e29aefb9aae54534fcd9f799eccf8ffc6.tar.gz
after merge
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index c7e4bc0acf4..f6623e80734 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -66,7 +66,8 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
// we can't assign 'item' before, because fix_fields() can change arg
Item *item= *arg;
used_tables_cache |= item->used_tables();
- if (const_item_cache&= item->const_item() && !with_null)
+ const_item_cache&= item->const_item() && !with_null;
+ if (const_item_cache)
{
if (item->cols() > 1)
with_null|= item->null_inside();