diff options
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sql/handler.h b/sql/handler.h index 50088af1d28..5cc2aa126c4 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -580,6 +580,7 @@ typedef struct void (*binlog_log_query)(THD *thd, enum_binlog_command binlog_command, const char *query, uint query_length, const char *db, const char *table_name); + int (*release_temporary_latches)(THD *thd); } handlerton; extern const handlerton default_hton; @@ -685,6 +686,8 @@ public: { do_prelock(tables, count); } + virtual ~TABLEOP_HOOKS() {} + TABLEOP_HOOKS() {} private: /* Function primitive that is called prior to locking tables */ @@ -1609,11 +1612,6 @@ void trans_register_ha(THD *thd, bool all, handlerton *ht); #define trans_need_2pc(thd, all) ((total_ha_2pc > 1) && \ !((all ? &thd->transaction.all : &thd->transaction.stmt)->no_2pc)) -/* semi-synchronous replication */ -int ha_repl_report_sent_binlog(THD *thd, char *log_file_name, - my_off_t end_offset); -int ha_repl_report_replication_stop(THD *thd); - #ifdef HAVE_NDB_BINLOG int ha_reset_logs(THD *thd); int ha_binlog_index_purge_file(THD *thd, const char *file); |