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

@@ -1692,6 +1692,7 @@ int binlog_init(void *p)
binlog_savepoint_rollback_can_release_mdl;
binlog_hton->commit= binlog_commit;
binlog_hton->rollback= binlog_rollback;
binlog_hton->drop_table= [](handlerton *, const char*) { return 0; };
if (WSREP_ON || opt_bin_log)
{
binlog_hton->prepare= binlog_prepare;