mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
Fixed that internal temporary Aria tables are not flushed to disk
This bug was caused by MDEV-17070 Table corruption or Assertion `table->file->stats.records > 0
This commit is contained in:
parent
0de9e40f4b
commit
69be363daa
1 changed files with 1 additions and 0 deletions
|
@ -2789,6 +2789,7 @@ int ha_maria::delete_table(const char *name)
|
|||
void ha_maria::drop_table(const char *name)
|
||||
{
|
||||
DBUG_ASSERT(!file || file->s->temporary);
|
||||
file->s->deleting= 1; // Do not flush data
|
||||
(void) ha_close();
|
||||
(void) maria_delete_table_files(name, 1, MY_WME);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue