mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 19:25:32 +02:00
MDEV-8115 mysql_upgrade crashes the server with REPAIR VIEW
on REPAIR don't do table-specific stuff for views (because even if the view has a temp table opened for it, it's not opened all the way down the engine. In particular, Aria crashes in maria_status() because MARIA_HA* info - that is table->table->file->file - is NULL)
This commit is contained in:
parent
8350ea0514
commit
0014bdc7ee
3 changed files with 17 additions and 1 deletions
|
|
@ -901,7 +901,7 @@ send_result_message:
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (table->table)
|
||||
if (table->table && !table->view)
|
||||
{
|
||||
if (table->table->s->tmp_table)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue