1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-11412 Ensure that table is truly dropped when using DROP TABLE

don't do table discovery on DROP. DROP falls back to "force"
approach when a table isn't found and will try to drop in all
engines anyway. That is, trying to discover in all engines before
the drop is redundant and may be expensive.
This commit is contained in:
Sergei Golubchik
2020-06-16 10:33:48 +02:00
parent 79a3f96166
commit 7c2ba9e9d7
6 changed files with 85 additions and 73 deletions

View File

@ -439,8 +439,7 @@ static int sequence_initialize(void *p)
HTON_HIDDEN |
HTON_TEMPORARY_NOT_SUPPORTED |
HTON_ALTER_NOT_SUPPORTED |
HTON_NO_PARTITION |
HTON_AUTOMATIC_DELETE_TABLE);
HTON_NO_PARTITION);
DBUG_RETURN(0);
}