summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2004-02-18 22:21:37 -0800
committerunknown <igor@rurik.mysql.com>2004-02-18 22:21:37 -0800
commitc88e5213d4f8acbbba33d293a9573042818f0aec (patch)
tree930d3af069574ba2f718af7997089edaeb3b22fc /sql/item_row.cc
parent4b058cba0d059ecb9dd2d69e911f0523e411b19d (diff)
downloadmariadb-git-c88e5213d4f8acbbba33d293a9573042818f0aec.tar.gz
Many files:
After review fixes for Item_equal. sql/item.cc: After review fixes for Item_equal. sql/item.h: After review fixes for Item_equal. sql/item_cmpfunc.cc: After review fixes for Item_equal. sql/item_cmpfunc.h: After review fixes for Item_equal. sql/item_func.h: After review fixes for Item_equal. sql/item_func.cc: After review fixes for Item_equal. sql/item_row.cc: After review fixes for Item_equal. sql/item_row.h: After review fixes for Item_equal. sql/item_strfunc.h: After review fixes for Item_equal. sql/opt_range.cc: After review fixes for Item_equal. sql/sql_list.h: After review fixes for Item_equal. sql/sql_select.cc: After review fixes for Item_equal. mysql-test/r/select.result: After review fixes for Item_equal. mysql-test/r/subselect.result: After review fixes for Item_equal.
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index d7afe9ad5f0..7a457c9db7a 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -140,16 +140,16 @@ bool Item_row::walk(Item_processor processor, byte *arg)
return (this->*processor)(arg);
}
-Item *Item_row::traverse(Item_calculator calculator, byte *arg)
+Item *Item_row::transform(Item_transformer transformer, byte *arg)
{
for (uint i= 0; i < arg_count; i++)
{
- Item *new_item= items[i]->traverse(calculator, arg);
+ Item *new_item= items[i]->transform(transformer, arg);
if (!new_item)
return 0;
items[i]= new_item;
}
- return (this->*calculator)(arg);
+ return (this->*transformer)(arg);
}
void Item_row::bring_value()