Skip to content

Commit

Permalink
Fix gtidcheck (issue #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Feb 2, 2015
1 parent aed361a commit 53e4874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbhelper/dbhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func CheckSlaveSync(dbS *sqlx.DB, dbM *sqlx.DB) bool {
log.Printf("CheckSlaveSync called")
}
sGtid := GetVariableByName(dbS, "GTID_CURRENT_POS")
mGtid := GetVariableByName(dbM, "GTID_BINLOG_POS")
mGtid := GetVariableByName(dbM, "GTID_CURRENT_POS")
if sGtid == mGtid {
return true
} else {
Expand Down

0 comments on commit 53e4874

Please sign in to comment.