mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
fixed problem in view over view setup (BUG#7433)
This commit is contained in:
@ -1613,7 +1613,7 @@ void st_table_list::set_ancestor()
|
||||
tbl->table->grant= grant;
|
||||
}
|
||||
/* if view contain only one table, substitute TABLE of it */
|
||||
if (!ancestor->next_local)
|
||||
if (ancestor && !ancestor->next_local)
|
||||
{
|
||||
table= ancestor->table;
|
||||
schema_table= ancestor->schema_table;
|
||||
|
Reference in New Issue
Block a user