summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2017-11-22 08:01:07 +0200
committerMichael Widenius <monty@mariadb.org>2017-11-23 09:49:45 +0200
commit166056f744ac66920a0777b8a4327fd4ebb1e5be (patch)
tree3f66b2dcc81b09cb1a426b587d5fccae188c5744 /sql/item_row.h
parente44107c4d93155bebdaf1be718be0fea50a4a1ad (diff)
downloadmariadb-git-166056f744ac66920a0777b8a4327fd4ebb1e5be.tar.gz
Remove not used mem_root argument from build_clone(), get_copy() and get_item_copy()
TODO: - Make get_thd_memroot() inline - To do this, we need to reduce dependence of include files, especially so that sql_class.h is not depending in item.h
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index a6fdd2b212c..a66ae7fb5dc 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -128,9 +128,9 @@ public:
}
bool check_vcol_func_processor(void *arg) {return FALSE; }
- Item *get_copy(THD *thd, MEM_ROOT *mem_root)
- { return get_item_copy<Item_row>(thd, mem_root, this); }
- Item *build_clone(THD *thd, MEM_ROOT *mem_root);
+ Item *get_copy(THD *thd)
+ { return get_item_copy<Item_row>(thd, this); }
+ Item *build_clone(THD *thd);
};
#endif /* ITEM_ROW_INCLUDED */