diff options
author | drh <> | 2022-09-17 18:29:49 +0000 |
---|---|---|
committer | drh <> | 2022-09-17 18:29:49 +0000 |
commit | 20a9ed1dc6fd63573e49328d27e955969f18470d (patch) | |
tree | 145e8de6db93635297c37c867a25b1814e43dd1e /src/os_unix.c | |
parent | b9fbc558f797d25d50a32150c8fcedf490f74015 (diff) | |
download | sqlite-20a9ed1dc6fd63573e49328d27e955969f18470d.tar.gz sqlite-20a9ed1dc6fd63573e49328d27e955969f18470d.zip |
Include the kv-vfs as an optional VFS on unix builds if the
SQLITE_OS_KV_OPTIONAL compile-time option is present.
FossilOrigin-Name: 852812d1e2ec3c53ad7c6c64662b37d861fefcf1baeee3d58eba88bcb3f6d8df
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 784686d0a..c390b5188 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -8065,6 +8065,9 @@ int sqlite3_os_init(void){ sqlite3_vfs_register(&aVfs[i], i==0); #endif } +#ifdef SQLITE_OS_KV_OPTIONAL + sqlite3KvvfsInit(); +#endif unixBigLock = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_VFS1); #ifndef SQLITE_OMIT_WAL |