(core) Update golang dependencies

``
go get -u ./...
go mod tidy
```
Fixed SQLite related code to fit latest changes in  SQLite driver
This commit is contained in:
Alexandr Stelnykovych
2025-11-12 12:37:33 +02:00
parent 2009dcf9c8
commit f9105fc738
21 changed files with 1704 additions and 466 deletions

View File

@@ -182,7 +182,7 @@ func (db *SQLite) putRecord(r record.Record, tx *bob.Tx) (record.Record, error)
return nil, err
}
// Prepare for setter.
setFormat := omitnull.From(int16(format))
setFormat := omitnull.From(int64(format))
setData := omitnull.From(data)
if len(data) == 0 {
setFormat.Null()
@@ -259,7 +259,7 @@ func (db *SQLite) PutMany(shadowDelete bool) (chan<- record.Record, <-chan error
}
} else {
// Finalize transcation.
errs <- tx.Commit()
errs <- tx.Commit(db.ctx)
return
}
@@ -269,7 +269,7 @@ func (db *SQLite) PutMany(shadowDelete bool) (chan<- record.Record, <-chan error
}
// Rollback transaction.
errs <- tx.Rollback()
errs <- tx.Rollback(db.ctx)
}()
return batch, errs