Skip to content

Commit a73f126

Browse files
committed
[no-release-notes] stats iter types edit
1 parent b3a4c87 commit a73f126

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/stats/iter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ func ParseRow(rowStr string, types []sql.Type) (sql.Row, error) {
139139
func StringifyKey(r sql.Row, typs []sql.Type) string {
140140
b := strings.Builder{}
141141
sep := ""
142-
for i, v := range r {
142+
for i := range typs {
143+
v := r[i]
143144
typ := typs[i]
144145
if _, ok := typ.(sql.StringType); ok {
145146
typ = types.LongText

0 commit comments

Comments
 (0)