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

@@ -749,6 +749,7 @@ static int sphinx_init_func ( void * p )
hton->close_connection = sphinx_close_connection;
hton->show_status = sphinx_show_status;
hton->panic = sphinx_panic;
hton->drop_table= [](handlerton *, const char*) { return 0; };
hton->flags = HTON_CAN_RECREATE | HTON_AUTOMATIC_DELETE_TABLE;
#endif
}