aboutsummaryrefslogtreecommitdiff
path: root/handle.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-07-31 00:23:28 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-07-31 00:23:28 +0200
commit8871cb8f2b8163d803f8f5ad2c2dc2a3f345bb0b (patch)
tree00f9fda8709e47116bdb56082fd8837c84b09604 /handle.go
parent2bf760b9b4d71d3b67c5489d2c46bfa04d4629f9 (diff)
downloadgo-gg-pgx-8871cb8f2b8163d803f8f5ad2c2dc2a3f345bb0b.tar.gz
add test coverage
Diffstat (limited to 'handle.go')
-rw-r--r--handle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.go b/handle.go
index b3017ce..bd2462d 100644
--- a/handle.go
+++ b/handle.go
@@ -76,7 +76,7 @@ func (h poolHandle) GSQLPrepare(ctx context.Context, query string, repeated bool
conn.Release()
return err
}
- return wrappedPreparedStatement{ctx, stmt, h.inner, deallocate}, nil
+ return wrappedPreparedStatement{ctx, stmt, conn, deallocate}, nil
}
// GSQLQuery implements the [gsql.Handle] interface.