File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ import (
2727
2828// BinlogReplicaController allows callers to control a binlog replica. Providers built on go-mysql-server may optionally
2929// implement this interface and use it when constructing a SQL engine in order to receive callbacks when replication
30- // statements (e.g. START REPLICA, SHOW REPLICA STATUS) are being handled. This interface also extends BinlogConsumer
31- // to allow the same infrastructure to handle BINLOG statement execution.
30+ // statements (e.g. START REPLICA, SHOW REPLICA STATUS) are being handled.
3231type BinlogReplicaController interface {
3332 // StartReplica tells the binlog replica controller to start up replication processes for the current replication
3433 // configuration. An error is returned if replication was unable to be started. Note the error response only signals
@@ -155,7 +154,7 @@ type ReplicaStatus struct {
155154}
156155
157156// BinlogReplicaCatalog extends the Catalog interface and provides methods for accessing a BinlogReplicaController
158- // for a Catalog. The controller can also be used as a BinlogConsumer for BINLOG statement execution.
157+ // for a Catalog.
159158type BinlogReplicaCatalog interface {
160159 // HasBinlogReplicaController returns true if a non-nil BinlogReplicaController is available for this BinlogReplicaCatalog.
161160 HasBinlogReplicaController () bool
You can’t perform that action at this time.
0 commit comments