Skip to content

Commit e976324

Browse files
committed
better empty row check
1 parent 34af1d8 commit e976324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/stats/iter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (s *statsIter) updateIndexMeta() {
8282
}
8383
s.types = dStat.Types()
8484
s.typesStr = typesB.String()
85-
if dStat.LowerBound() != nil {
85+
if len(dStat.LowerBound()) > 0 {
8686
s.lowerBoundStr = StringifyKey(dStat.LowerBound(), dStat.Types())
8787
}
8888
s.colsStr = strings.Join(dStat.Columns(), ",")

0 commit comments

Comments
 (0)