mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
fake_select_lex should be prepared during PS preparation to work correctly
item_list for fake_select will be created only once (problem reported by valgrind in test_union2 fixed) sql/sql_lex.h: new function to keep code in one place sql/sql_union.cc: fake_select_lex should be prepared during PS preparation to work correctly item_list for fake_select will be created only once
This commit is contained in:
@@ -366,7 +366,8 @@ public:
|
||||
|
||||
bool check_updateable(char *db, char *table);
|
||||
void print(String *str);
|
||||
|
||||
|
||||
ulong init_prepare_fake_select_lex(THD *thd);
|
||||
|
||||
friend void mysql_init_query(THD *thd);
|
||||
friend int subselect_union_engine::exec();
|
||||
|
||||
Reference in New Issue
Block a user