From fc1f301e91367be5de7b5dc510acb1a6e22d59b5 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 22 Apr 2015 12:40:23 +0400 Subject: MDEV-8024 Remove excessive update_used_tables() calls --- sql/sql_udf.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sql/sql_udf.h') 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) -- cgit v1.2.1