summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-10-20 04:04:37 +0300
committerbell@sanja.is.com.ua <>2004-10-20 04:04:37 +0300
commit4714a6e7448672b93313deddfa67ad83f2084d01 (patch)
tree55e6ec4a0a572c0be2ba69da166ea204bf96502e /sql/item_row.cc
parent09e9651accec3339555634cf4699cb08f1945510 (diff)
downloadmariadb-git-4714a6e7448672b93313deddfa67ad83f2084d01.tar.gz
errors without code removed
net_printf/send_error calls replaced by my_error family functions -1/1 (sent/unsent) error reporting removed (WL#2133)
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index f6623e80734..0cfe8287dcb 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -62,7 +62,7 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
for (arg= items, arg_end= items+arg_count; arg != arg_end ; arg++)
{
if ((*arg)->fix_fields(thd, tabl, arg))
- return 1;
+ return TRUE;
// we can't assign 'item' before, because fix_fields() can change arg
Item *item= *arg;
used_tables_cache |= item->used_tables();
@@ -81,7 +81,7 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref)
with_sum_func= with_sum_func || item->with_sum_func;
}
fixed= 1;
- return 0;
+ return FALSE;
}
void Item_row::split_sum_func(Item **ref_pointer_array, List<Item> &fields)