diff options
author | 2023-03-06 11:00:53 +0100 | |
---|---|---|
committer | 2023-03-06 11:00:53 +0100 | |
commit | b344c2c8f4b2ef98effe2f19d70f63c5a835ba86 (patch) | |
tree | c1c75f5a0c55a118a0e34e6890bae0230133d25c /vendor/github.com/uptrace/bun/model_table_slice.go | |
parent | [bugfix] internal server error on search not found (#1590) (diff) | |
download | gotosocial-b344c2c8f4b2ef98effe2f19d70f63c5a835ba86.tar.xz |
[chore] Update uptrace/bun and modernc/sqlite dependencies (#1598)
* [chore] Update bun from 1.1.10 -> 1.1.12
* [chore] bump modernc/sqlite 1.20.4 -> 1.21.0
Diffstat (limited to 'vendor/github.com/uptrace/bun/model_table_slice.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/model_table_slice.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/model_table_slice.go b/vendor/github.com/uptrace/bun/model_table_slice.go index b49e0ce03..67b421460 100644 --- a/vendor/github.com/uptrace/bun/model_table_slice.go +++ b/vendor/github.com/uptrace/bun/model_table_slice.go @@ -68,6 +68,9 @@ func (m *sliceTableModel) ScanRows(ctx context.Context, rows *sql.Rows) (int, er for rows.Next() { m.strct = m.nextElem() + if m.sliceOfPtr { + m.strct = m.strct.Elem() + } m.structInited = false if err := m.scanRow(ctx, rows, dest); err != nil { |