summaryrefslogtreecommitdiff
path: root/sql/sql_udf.h
diff options
context:
space:
mode:
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)