aboutsummaryrefslogtreecommitdiff
path: root/results.go
diff options
context:
space:
mode:
Diffstat (limited to 'results.go')
-rw-r--r--results.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/results.go b/results.go
index 510bb08..bf0d0be 100644
--- a/results.go
+++ b/results.go
@@ -31,7 +31,7 @@ func (r wrappedRows) Columns() ([]string, error) {
// Close implements the [gsql.Rows] interface.
func (r wrappedRows) Close() error {
r.inner.Close()
- return nil
+ return r.inner.Err()
}
// Err implements the [gsql.Rows] interface.