mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:22:24 -05:00
[chore] bump ncruces go-sqlite3 => v0.23.0 (#3785)
* bump ncruces go-sqlite3 => v0.23.0 * whoops, add missing vendor changes...
This commit is contained in:
parent
fccb0bc102
commit
24f6760c0e
40 changed files with 836 additions and 833 deletions
8
vendor/github.com/ncruces/go-sqlite3/vfs/cksm.go
generated
vendored
8
vendor/github.com/ncruces/go-sqlite3/vfs/cksm.go
generated
vendored
|
|
@ -102,14 +102,14 @@ func (c cksmFile) Pragma(name string, value string) (string, error) {
|
|||
}
|
||||
|
||||
func (c cksmFile) DeviceCharacteristics() DeviceCharacteristic {
|
||||
res := c.File.DeviceCharacteristics()
|
||||
ret := c.File.DeviceCharacteristics()
|
||||
if c.verifyCksm {
|
||||
res &^= IOCAP_SUBPAGE_READ
|
||||
ret &^= IOCAP_SUBPAGE_READ
|
||||
}
|
||||
return res
|
||||
return ret
|
||||
}
|
||||
|
||||
func (c cksmFile) fileControl(ctx context.Context, mod api.Module, op _FcntlOpcode, pArg uint32) _ErrorCode {
|
||||
func (c cksmFile) fileControl(ctx context.Context, mod api.Module, op _FcntlOpcode, pArg ptr_t) _ErrorCode {
|
||||
switch op {
|
||||
case _FCNTL_CKPT_START:
|
||||
c.inCkpt = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue