mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
SQL: VIEW over a JOIN of versioned tables [fixes #153]
This commit is contained in:
parent
92c7a87119
commit
4ebf680c9b
3 changed files with 26 additions and 10 deletions
|
|
@ -467,9 +467,9 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
|
|||
const char *end = s->vers_end_field()->field_name;
|
||||
|
||||
select_lex->item_list.push_back(new (thd->mem_root) Item_field(
|
||||
thd, &select_lex->context, NULL, NULL, start));
|
||||
thd, &select_lex->context, tables->db, tables->alias, start));
|
||||
select_lex->item_list.push_back(new (thd->mem_root) Item_field(
|
||||
thd, &select_lex->context, NULL, NULL, end));
|
||||
thd, &select_lex->context, tables->db, tables->alias, end));
|
||||
|
||||
if (lex->view_list.elements)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue