From 1c2a595750acbce241ebc5e135d84407d3cd82ba Mon Sep 17 00:00:00 2001 From: go-jet Date: Mon, 4 May 2026 11:54:11 +0200 Subject: [PATCH] Forward context inside QueryContext method. --- stmtcache/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmtcache/tx.go b/stmtcache/tx.go index c02fb6b..0076f46 100644 --- a/stmtcache/tx.go +++ b/stmtcache/tx.go @@ -57,7 +57,7 @@ func (t *Tx) QueryContext(ctx context.Context, query string, args ...interface{} return nil, err } - return prepStmt.Query(args...) + return prepStmt.QueryContext(ctx, args...) } // Prepare delegates call to PrepareContext using context.Background as a parameter.