mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 05:52: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/file.go
generated
vendored
8
vendor/github.com/ncruces/go-sqlite3/vfs/file.go
generated
vendored
|
|
@ -186,14 +186,14 @@ func (f *vfsFile) SectorSize() int {
|
|||
}
|
||||
|
||||
func (f *vfsFile) DeviceCharacteristics() DeviceCharacteristic {
|
||||
res := IOCAP_SUBPAGE_READ
|
||||
ret := IOCAP_SUBPAGE_READ
|
||||
if osBatchAtomic(f.File) {
|
||||
res |= IOCAP_BATCH_ATOMIC
|
||||
ret |= IOCAP_BATCH_ATOMIC
|
||||
}
|
||||
if f.psow {
|
||||
res |= IOCAP_POWERSAFE_OVERWRITE
|
||||
ret |= IOCAP_POWERSAFE_OVERWRITE
|
||||
}
|
||||
return res
|
||||
return ret
|
||||
}
|
||||
|
||||
func (f *vfsFile) SizeHint(size int64) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue