mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed subqueries name resolution with INSERT/REPLACE (found during bug 446 investigation)
This commit is contained in:
@ -352,6 +352,14 @@ public:
|
||||
bool braces; /* SELECT ... UNION (SELECT ... ) <- this braces */
|
||||
/* TRUE when having fix field called in processing of this SELECT */
|
||||
bool having_fix_field;
|
||||
/*
|
||||
TRUE for primary st_select_lex structure of simple INSERT/REPLACE
|
||||
(used for name resolution, see Item_fiels & Item_ref fix_fields,
|
||||
FALSE for INSERT/REPLACE ... SELECT, because it's
|
||||
st_select_lex->table_list will be preprocessed (first table removed)
|
||||
before passing to handle_select)
|
||||
*/
|
||||
bool insert_select;
|
||||
|
||||
void init_query();
|
||||
void init_select();
|
||||
|
Reference in New Issue
Block a user