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

@@ -502,6 +502,7 @@ static int init(void *p)
handlerton *hton= (handlerton *)p;
sequence_hton= hton;
hton->create= create_handler;
hton->drop_table= [](handlerton *, const char*) { return 0; };
hton->discover_table= discover_table;
hton->discover_table_existence= discover_table_existence;
hton->commit= hton->rollback= dummy_commit_rollback;