Skip to content

Commit

Permalink
Revert "[release-16.0] Replace use of `WAIT_UNTIL_SQL_THREAD_AFTER_GT…
Browse files Browse the repository at this point in the history
…IDS` with `WAIT_FOR_EXECUTED_GTID_SET` (#14612)" (#14743)

Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
deepthi and GuptaManan100 authored Dec 11, 2023
1 parent df817d1 commit 307fb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/mysql/flavor_mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (mysqlFlavor) waitUntilPositionCommand(ctx context.Context, pos Position) (
}
}

return fmt.Sprintf("SELECT WAIT_FOR_EXECUTED_GTID_SET('%s', %v)", pos, timeoutSeconds), nil
return fmt.Sprintf("SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS('%s', %v)", pos, timeoutSeconds), nil
}

// readBinlogEvent is part of the Flavor interface.
Expand Down

0 comments on commit 307fb6d

Please sign in to comment.