mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02:00
MDEV-8024 Remove excessive update_used_tables() calls
This commit is contained in:
parent
e7a7ea7ec1
commit
fc1f301e91
12 changed files with 156 additions and 127 deletions
|
|
@ -1763,7 +1763,11 @@ public:
|
|||
enum Type type() const { return COND_ITEM; }
|
||||
List<Item>* argument_list() { return &list; }
|
||||
table_map used_tables() const;
|
||||
void update_used_tables();
|
||||
void update_used_tables()
|
||||
{
|
||||
used_tables_and_const_cache_init();
|
||||
used_tables_and_const_cache_update_and_join(list);
|
||||
}
|
||||
virtual void print(String *str, enum_query_type query_type);
|
||||
void split_sum_func(THD *thd, Item **ref_pointer_array, List<Item> &fields);
|
||||
friend int setup_conds(THD *thd, TABLE_LIST *tables, TABLE_LIST *leaves,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue