mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:35:06 +00:00
29 lines
1,005 B
Diff
29 lines
1,005 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jelle Raaijmakers <jelle@gmta.nl>
|
|
Date: Sat, 27 Mar 2021 12:38:07 +0100
|
|
Subject: [PATCH] Disable vfs locking
|
|
|
|
---
|
|
sqlite3.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/sqlite3.c b/sqlite3.c
|
|
index 310583f996c07c065f1ba658cad94e8f07b67aa5..5ab33091ab074c2b934cf1d872b93d73c077c88e 100644
|
|
--- a/sqlite3.c
|
|
+++ b/sqlite3.c
|
|
@@ -45706,6 +45706,7 @@ SQLITE_API int sqlite3_os_init(void){
|
|
** array cannot be const.
|
|
*/
|
|
static sqlite3_vfs aVfs[] = {
|
|
+ UNIXVFS("unix-none", nolockIoFinder ),
|
|
#if SQLITE_ENABLE_LOCKING_STYLE && defined(__APPLE__)
|
|
UNIXVFS("unix", autolockIoFinder ),
|
|
#elif OS_VXWORKS
|
|
@@ -45713,7 +45714,6 @@ SQLITE_API int sqlite3_os_init(void){
|
|
#else
|
|
UNIXVFS("unix", posixIoFinder ),
|
|
#endif
|
|
- UNIXVFS("unix-none", nolockIoFinder ),
|
|
UNIXVFS("unix-dotfile", dotlockIoFinder ),
|
|
UNIXVFS("unix-excl", posixIoFinder ),
|
|
#if OS_VXWORKS
|