1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-25906: SIGSEGV in flush_tables_with_read_lock on FTWRL or FTFE | SIGSEGV in ha_maria::extra

This commit is contained in:
Sergei Golubchik
2021-07-02 00:26:04 +02:00
parent 164a64baa3
commit 4145ebf99a
5 changed files with 149 additions and 3 deletions

View File

@ -598,7 +598,7 @@ bool flush_tables_with_read_lock(THD *thd, TABLE_LIST *all_tables)
table_list->hide_view_error(thd);
goto error_reset_bits;
}
if (table_list->is_view())
if (table_list->is_view_or_derived())
continue;
if (thd->lex->type & REFRESH_FOR_EXPORT &&
!(table_list->table->file->ha_table_flags() & HA_CAN_EXPORT))