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:
@ -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)
|
||||
|
Reference in New Issue
Block a user