aboutsummaryrefslogtreecommitdiff
path: root/src/test_onefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_onefile.c')
-rw-r--r--src/test_onefile.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/test_onefile.c b/src/test_onefile.c
index 6b39a39ad..520dffcb7 100644
--- a/src/test_onefile.c
+++ b/src/test_onefile.c
@@ -199,11 +199,6 @@ static fs_vfs_t fs_vfs = {
fsRandomness, /* xRandomness */
fsSleep, /* xSleep */
fsCurrentTime, /* xCurrentTime */
- 0, /* xShmOpen */
- 0, /* xShmSize */
- 0, /* xShmLock */
- 0, /* xShmClose */
- 0, /* xShmDelete */
0, /* xRename */
0 /* xCurrentTimeInt64 */
},
@@ -224,7 +219,12 @@ static sqlite3_io_methods fs_io_methods = {
fsCheckReservedLock, /* xCheckReservedLock */
fsFileControl, /* xFileControl */
fsSectorSize, /* xSectorSize */
- fsDeviceCharacteristics /* xDeviceCharacteristics */
+ fsDeviceCharacteristics, /* xDeviceCharacteristics */
+ 0, /* xShmOpen */
+ 0, /* xShmSize */
+ 0, /* xShmLock */
+ 0, /* xShmClose */
+ 0, /* xShmDelete */
};
@@ -241,7 +241,12 @@ static sqlite3_io_methods tmp_io_methods = {
tmpCheckReservedLock, /* xCheckReservedLock */
tmpFileControl, /* xFileControl */
tmpSectorSize, /* xSectorSize */
- tmpDeviceCharacteristics /* xDeviceCharacteristics */
+ tmpDeviceCharacteristics, /* xDeviceCharacteristics */
+ 0, /* xShmOpen */
+ 0, /* xShmSize */
+ 0, /* xShmLock */
+ 0, /* xShmClose */
+ 0, /* xShmDelete */
};
/* Useful macros used in several places */