summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-08-26 18:22:22 +0200
committerunknown <serg@serg.mylan>2004-08-26 18:22:22 +0200
commit82257f94f411b678da753b3ccb7e883621189eb1 (patch)
tree3e3e91346cc6f95a8628a4dbaaacb94646c02511 /sql/item_row.cc
parent94a39ec6104dec8e8828bbfaefc1e5f06b0a1550 (diff)
downloadmariadb-git-82257f94f411b678da753b3ccb7e883621189eb1.tar.gz
after merge
sql/item_row.cc: ds20 compat fix
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();