mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed bug mdev-10344.
The patch for bug mdev-9937 actually did not fix the problem of name resolution for tables used in views referred in queries with WITH clauses. This fix corrects the patch.
This commit is contained in:
@ -1622,7 +1622,7 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
|
||||
sl->context.error_processor_data= (void *)table;
|
||||
}
|
||||
|
||||
table->select_lex->master_unit()->is_view= true;
|
||||
view_select->master_unit()->is_view= true;
|
||||
|
||||
/*
|
||||
check MERGE algorithm ability
|
||||
|
Reference in New Issue
Block a user