1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

optimization: use hton->drop_table in few simple cases

This commit is contained in:
Sergei Golubchik
2020-06-14 11:48:50 +02:00
parent c55c292832
commit b014720b6c
11 changed files with 24 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ static int pfs_init_func(void *p)
pfs_hton= reinterpret_cast<handlerton *> (p);
pfs_hton->create= pfs_create_handler;
pfs_hton->drop_table= [](handlerton *, const char*) { return 0; };
pfs_hton->show_status= pfs_show_status;
pfs_hton->flags= (HTON_ALTER_NOT_SUPPORTED |
HTON_TEMPORARY_NOT_SUPPORTED |