diff options
author | unknown <brian@zim.(none)> | 2006-03-23 05:51:31 -0800 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-03-23 05:51:31 -0800 |
commit | fd8513fa9d577b3185ed9fd18816e0af5e5932f0 (patch) | |
tree | 798167a87d35cff6ca6dc3c86b71b000dd60d31e /sql/handler.cc | |
parent | 5ae7cf461e546bdade15ba21293c1bb4c3289c86 (diff) | |
download | mariadb-git-fd8513fa9d577b3185ed9fd18816e0af5e5932f0.tar.gz |
Refactored some code to remove ifdef and removed dead code related to un-useable sync code.
sql/ha_innodb.cc:
Removing dead code
sql/handler.cc:
Removing dead code
sql/handler.h:
Removing Dead code
sql/sql_class.cc:
Removing unneeded ifdef code.
sql/sql_repl.cc:
Removing dead code.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 7b232f343c0..c53ee4153f9 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -3316,56 +3316,3 @@ int handler::ha_delete_row(const byte *buf) #endif return 0; } - - -#ifdef HAVE_REPLICATION -/* - Reports to table handlers up to which position we have sent the binlog - to a slave in replication - - SYNOPSIS - ha_repl_report_sent_binlog() - thd thread doing the binlog communication to the slave - log_file_name binlog file name - end_offse t the offset in the binlog file up to which we sent the - contents to the slave - - NOTES - Only works for InnoDB at the moment - - RETURN VALUE - Always 0 (= success) -*/ - -int ha_repl_report_sent_binlog(THD *thd, char *log_file_name, - my_off_t end_offset) -{ -#ifdef WITH_INNOBASE_STORAGE_ENGINE - innobase_repl_report_sent_binlog(thd, log_file_name, end_offset); -#endif - return 0; -} - - -/* - Reports to table handlers that we stop replication to a specific slave - - SYNOPSIS - ha_repl_report_replication_stop() - thd thread doing the binlog communication to the slave - - NOTES - Does nothing at the moment - - RETURN VALUE - Always 0 (= success) - - PARAMETERS -*/ - -int ha_repl_report_replication_stop(THD *thd) -{ - return 0; -} -#endif /* HAVE_REPLICATION */ - |