Skip to content

Commit 2131aa0

Browse files
committed
remove TotalRowCount
1 parent 572ab10 commit 2131aa0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/table/scanner/result.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ func (r *unaryResult) ResultSetCount() int {
4343
return len(r.sets)
4444
}
4545

46-
func (r *unaryResult) TotalRowCount() (n int) {
47-
for _, s := range r.sets {
48-
n += len(s.Rows)
49-
}
50-
return
51-
}
52-
5346
func (r *result) isClosed() bool {
5447
r.closedMtx.RLock()
5548
defer r.closedMtx.RUnlock()

0 commit comments

Comments
 (0)