summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorChaithra Gopalareddy <chaithra.gopalareddy@oracle.com>2013-05-07 18:00:00 +0530
committerChaithra Gopalareddy <chaithra.gopalareddy@oracle.com>2013-05-07 18:00:00 +0530
commitff55c9da68cc3fc96f9003cf62f89ec3b7c7a3de (patch)
tree592db5b8e099f0fb6e7ad33c5dc429edded7d6cd /sql/item_func.h
parent1414a0ed7f99b63aad5d5ad7026b6609121f5db1 (diff)
parent12a26cd6e013a2670a4faf39dd2570106d952809 (diff)
downloadmariadb-git-ff55c9da68cc3fc96f9003cf62f89ec3b7c7a3de.tar.gz
Merge from 5.1 to 5.5
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index c6d6e8826cf..34ffd5b4ca5 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1492,6 +1492,14 @@ public:
:Item_func(b), cached_result_type(INT_RESULT),
entry(NULL), entry_thread_id(0), delayed_non_constness(delayed), name(a)
{}
+ Item_func_set_user_var(THD *thd, Item_func_set_user_var *item)
+ :Item_func(thd, item), cached_result_type(item->cached_result_type),
+ entry(item->entry), entry_thread_id(item->entry_thread_id),
+ value(item->value), decimal_buff(item->decimal_buff),
+ null_item(item->null_item), save_result(item->save_result),
+ name(item->name)
+ {}
+
enum Functype functype() const { return SUSERVAR_FUNC; }
double val_real();
longlong val_int();