1
0
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:
Igor Babaev
2016-07-29 01:10:00 -07:00
parent f982d1074a
commit 247632e67e
3 changed files with 42 additions and 1 deletions

View File

@ -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