summaryrefslogtreecommitdiff
path: root/sql/sql_udf.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-10-14 18:33:16 +0400
committerAlexander Barkov <bar@mariadb.org>2015-10-14 18:33:16 +0400
commitb867ade5916941c25a714068a913c4b75aabe868 (patch)
tree25d0f52ea0db68f7385fe0b4a9f2581f64229357 /sql/sql_udf.h
parent3723c70a304566d867b6fb22f1b102d389d66321 (diff)
downloadmariadb-git-b867ade5916941c25a714068a913c4b75aabe868.tar.gz
Removing Used_tables_and_const_cache from "class udf_handler".
It was used only temporary, during udf_handler::fix_fields() time, and then copied to the owner Item_func_or_sum object. Changing the code to use the Used_tables_and_const_cache part of the owner Item_sum_or_func object directly.
Diffstat (limited to 'sql/sql_udf.h')
-rw-r--r--sql/sql_udf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_udf.h b/sql/sql_udf.h
index 700f868eea4..a42fe686637 100644
--- a/sql/sql_udf.h
+++ b/sql/sql_udf.h
@@ -52,7 +52,7 @@ typedef struct st_udf_func
class Item_result_field;
-class udf_handler :public Sql_alloc, public Used_tables_and_const_cache
+class udf_handler :public Sql_alloc
{
protected:
udf_func *u_d;