summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index 9c92e19caab..83e9743fede 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -47,13 +47,10 @@ public:
Item_row(THD *thd, List<Item> &list):
Item(thd), Item_args(thd, list), not_null_tables_cache(0), with_null(0)
{ }
- Item_row(THD *thd, Item_row *item):
- Item(thd),
- Item_args(item),
- Used_tables_and_const_cache(item),
- not_null_tables_cache(0),
- with_null(0)
- {}
+ Item_row(THD *thd, Item_row *row):
+ Item(thd), Item_args(thd, static_cast<Item_args*>(row)), Used_tables_and_const_cache(),
+ not_null_tables_cache(0), with_null(0)
+ { }
enum Type type() const { return ROW_ITEM; };
const Type_handler *type_handler() const { return &type_handler_row; }