We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
remove
1 parent 00bc1c8 commit dea3e6dCopy full SHA for dea3e6d
connection.go
@@ -576,8 +576,8 @@ func (c *conn) execStagingOperation(
576
return dbsqlerrint.NewDriverError(ctx, "error fetching staging operation results", err)
577
}
578
var stringValues []string = make([]string, 4)
579
- for i := range stringValues {
580
- if s, ok := sqlRow[i].(string); ok {
+ for i, val := range sqlRow { // this will either be 3 (remove op) or 4 (put/get) elements
+ if s, ok := val.(string); ok {
581
stringValues[i] = s
582
} else {
583
return dbsqlerrint.NewDriverError(ctx, "received unexpected response from the server.", nil)
0 commit comments