Skip to content

Commit 610f41a

Browse files
committed
amend vitess ver.
1 parent 0777e6c commit 610f41a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/binlogreplication/binlog_replication.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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.
3231
type 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.
159158
type BinlogReplicaCatalog interface {
160159
// HasBinlogReplicaController returns true if a non-nil BinlogReplicaController is available for this BinlogReplicaCatalog.
161160
HasBinlogReplicaController() bool

0 commit comments

Comments
 (0)