summaryrefslogtreecommitdiff
path: root/vendor/github.com/ncruces/go-sqlite3/vfs/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/file.go')
-rw-r--r--vendor/github.com/ncruces/go-sqlite3/vfs/file.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/file.go b/vendor/github.com/ncruces/go-sqlite3/vfs/file.go
index e028a2a55..bc90555e7 100644
--- a/vendor/github.com/ncruces/go-sqlite3/vfs/file.go
+++ b/vendor/github.com/ncruces/go-sqlite3/vfs/file.go
@@ -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 {