From f45384e07486f5379a0d0a58752f2d2cc37f63f8 Mon Sep 17 00:00:00 2001 From: Marco Manino Date: Wed, 17 Jul 2024 08:23:45 +0200 Subject: [PATCH] Fix missing log in Rows --- driver/driver.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/driver/driver.go b/driver/driver.go index b2d851b8..9431c92d 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -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