Comment typo "index max" to "index map" (#8700)

This commit is contained in:
Bruce Wang 2019-12-25 13:57:43 +08:00 committed by kannappanr
parent eaa838a63f
commit c476b27a65

View File

@ -84,7 +84,7 @@ func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
} }
} }
// If no index max, add that. // If no index map, add that.
if r.nameIndexMap == nil { if r.nameIndexMap == nil {
r.nameIndexMap = make(map[string]int64) r.nameIndexMap = make(map[string]int64)
for i := range r.columnNames { for i := range r.columnNames {