summaryrefslogtreecommitdiff
path: root/sql/sql_udf.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-04-22 12:40:23 +0400
committerAlexander Barkov <bar@mariadb.org>2015-04-22 12:40:23 +0400
commitfc1f301e91367be5de7b5dc510acb1a6e22d59b5 (patch)
treede29ce0100b053cc9617ea04f2555ea6140912ff /sql/sql_udf.h
parente7a7ea7ec107089c42315064fa238ec2cca92110 (diff)
downloadmariadb-git-fc1f301e91367be5de7b5dc510acb1a6e22d59b5.tar.gz
MDEV-8024 Remove excessive update_used_tables() calls
Diffstat (limited to 'sql/sql_udf.h')
-rw-r--r--sql/sql_udf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_udf.h b/sql/sql_udf.h
index 076c5440aef..700f868eea4 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
+class udf_handler :public Sql_alloc, public Used_tables_and_const_cache
{
protected:
udf_func *u_d;
@@ -65,8 +65,6 @@ class udf_handler :public Sql_alloc
Item **args;
public:
- table_map used_tables_cache;
- bool const_item_cache;
bool not_original;
udf_handler(udf_func *udf_arg) :u_d(udf_arg), buffers(0), error(0),
is_null(0), initialized(0), not_original(0)