Skip to content

Commit

Permalink
Fix missing log in Rows
Browse files Browse the repository at this point in the history
  • Loading branch information
marco6 committed Jul 17, 2024
1 parent 7e27064 commit f45384e
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 f45384e

Please sign in to comment.