summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 0eaad42873e..43e38763aa6 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -118,6 +118,16 @@ bool Item_row::check_cols(uint c)
return 0;
}
+bool Item_row::walk(Item_processor processor, byte *arg)
+{
+ for (uint i= 0; i < arg_count; i++)
+ {
+ if (items[i]->walk(processor, arg))
+ return 1;
+ }
+ return (this->*processor)(arg);
+}
+
void Item_row::bring_value()
{
for (uint i= 0; i < arg_count; i++)