aboutsummaryrefslogtreecommitdiff
path: root/handle.go
diff options
context:
space:
mode:
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.