Skip to content

Commit f7fde02

Browse files
committed
fix(database): address sync issues in column assignment in StreamRowsContext
1 parent 6cf3c06 commit f7fde02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/dbio/database/database.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ func (conn *BaseConn) StreamRowsContext(ctx context.Context, query string, optio
10091009
})
10101010
}
10111011

1012+
// assign separaetly to avoid conn.Data.Columns sync issues
10121013
columns := SQLColumns(colTypes, conn) // type mapping logic !
10131014

10141015
conn.Data.Result = result

0 commit comments

Comments
 (0)