1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-8024 Remove excessive update_used_tables() calls

This commit is contained in:
Alexander Barkov
2015-04-22 12:40:23 +04:00
parent e7a7ea7ec1
commit fc1f301e91
12 changed files with 156 additions and 127 deletions

View File

@ -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)