未验证 提交 e00a4242 编写于 作者: S shaoyue 提交者: GitHub

[skip ci] Add comments (#11408)

Signed-off-by: Nshaoyue.chen <shaoyue.chen@zilliz.com>
上级 96cd9352
......@@ -51,10 +51,12 @@ func (writer *baseBinlogWriter) isClosed() bool {
return writer.buffer != nil
}
// GetEventNums returns the number of event writers
func (writer *baseBinlogWriter) GetEventNums() int32 {
return int32(len(writer.eventWriters))
}
// GetRowNums returns writer's number of rows
func (writer *baseBinlogWriter) GetRowNums() (int32, error) {
if writer.isClosed() {
return writer.length, nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册