Skip to content

Commit

Permalink
Merge pull request #308 from marco6/fix-missing-log
Browse files Browse the repository at this point in the history
Fix missing log in Rows
  • Loading branch information
cole-miller authored Jul 22, 2024
2 parents 7e27064 + f45384e commit dbb9528
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,14 @@ func (s *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driv
return nil, driverError(s.log, err)
}

return &Rows{ctx: ctx, request: s.request, response: s.response, protocol: s.protocol, rows: rows}, nil
return &Rows{
ctx: ctx,
request: s.request,
response: s.response,
protocol: s.protocol,
rows: rows,
log: s.log,
}, nil
}

// Query executes a query that may return rows, such as a
Expand Down

0 comments on commit dbb9528

Please sign in to comment.