summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v5/rows.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-07-21 14:22:20 +0000
committerLibravatar GitHub <noreply@github.com>2023-07-21 14:22:20 +0000
commitfa57c699fe9d2db81d7806d6e30c0e388fa01673 (patch)
treedd0f2d52be007f8207d3ff4b851d13e46ec26625 /vendor/github.com/jackc/pgx/v5/rows.go
parent[chore]: Bump github.com/minio/minio-go/v7 from 7.0.59 to 7.0.60 (#1992) (diff)
downloadgotosocial-fa57c699fe9d2db81d7806d6e30c0e388fa01673.tar.xz
[chore]: Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#1991)
Diffstat (limited to 'vendor/github.com/jackc/pgx/v5/rows.go')
-rw-r--r--vendor/github.com/jackc/pgx/v5/rows.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/github.com/jackc/pgx/v5/rows.go b/vendor/github.com/jackc/pgx/v5/rows.go
index cdd72a25f..055a6645a 100644
--- a/vendor/github.com/jackc/pgx/v5/rows.go
+++ b/vendor/github.com/jackc/pgx/v5/rows.go
@@ -231,7 +231,11 @@ func (rows *baseRows) Scan(dest ...any) error {
if len(dest) == 1 {
if rc, ok := dest[0].(RowScanner); ok {
- return rc.ScanRow(rows)
+ err := rc.ScanRow(rows)
+ if err != nil {
+ rows.fatal(err)
+ }
+ return err
}
}