summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-01-02 12:24:33 +0200
committerunknown <bell@sanja.is.com.ua>2003-01-02 12:24:33 +0200
commitfb50e12d5e62c18bd0d479b9939b7ca946cd1d98 (patch)
tree97814f92c58bdd329bfaa1a60725d7be46326137 /sql/item_row.cc
parent736569d01ddf8fa8e49c4e64dd1bce428bde078f (diff)
downloadmariadb-git-fb50e12d5e62c18bd0d479b9939b7ca946cd1d98.tar.gz
post-post-review fix (SCRUM)
sql/item.cc: post-post-review fix sql/item_cmpfunc.h: post-post-review fix sql/item_row.cc: post-post-review fix sql/item_subselect.cc: post-post-review fix
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index ba4ac19b880..c62ab60c0cd 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -55,6 +55,7 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
return 1;
used_tables_cache |= items[i]->used_tables();
if (const_item_cache&= items[i]->const_item() && !with_null)
+ {
if (items[i]->cols() > 1)
with_null|= items[i]->null_inside();
else
@@ -62,6 +63,7 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
items[i]->val_int();
with_null|= items[i]->null_value;
}
+ }
maybe_null|= items[i]->maybe_null;
}
return 0;