Created
August 16, 2016 00:10
-
-
Save josephglanville/a10bc3639317ad1ea73026705e4180e1 to your computer and use it in GitHub Desktop.
Semi-sync fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sql/log.cc b/sql/log.cc | |
index 7efec98..b77a6b3 100644 | |
--- a/sql/log.cc | |
+++ b/sql/log.cc | |
@@ -7712,7 +7712,7 @@ MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader) | |
last= current->next == NULL; | |
if (!current->error && | |
RUN_HOOK(binlog_storage, after_sync, | |
- (current->thd, log_file_name, | |
+ (current->thd, current->cache_mngr->last_commit_pos_file, | |
current->cache_mngr->last_commit_pos_offset, | |
first, last))) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment