aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-09-04 06:22:25 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-09-04 06:22:25 +0000
commit73245a7818fb7414852ac12519100b50b05f26a3 (patch)
tree592b340fcdf04dd26c67e752549cd5517f80dbc1 /src/os_unix.c
parentc9e90daf6222f1aa796466d8a14e68b4ed3adab4 (diff)
downloadsqlite-73245a7818fb7414852ac12519100b50b05f26a3.tar.gz
sqlite-73245a7818fb7414852ac12519100b50b05f26a3.zip
If SQLITE_ENABLE_LOCKING_STYLE is defined, have the os_unix.c module offer the following extra VFS implementations for explicitly selecting a locking-style: "unix-none", "unix-afp", "unix-posix", "unix-flock" and "unix-dotfile". (CVS 5674)
FossilOrigin-Name: 6e8fb64639cc7451005d9f1dd2d0ef62576abbdd
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 30a63979c..45625ffe6 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -12,7 +12,7 @@
**
** This file contains code that is specific to Unix systems.
**
-** $Id: os_unix.c,v 1.198 2008/08/22 18:41:37 aswift Exp $
+** $Id: os_unix.c,v 1.199 2008/09/04 06:22:26 danielk1977 Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
@@ -2946,7 +2946,6 @@ int sqlite3_os_init(void){
static sqlite3_vfs unixVfs = UNIXVFS("unix", 0);
#ifdef SQLITE_ENABLE_LOCKING_STYLE
-#if 0
int i;
static sqlite3_vfs aVfs[] = {
UNIXVFS("unix-posix", LOCKING_STYLE_POSIX),
@@ -2959,7 +2958,6 @@ int sqlite3_os_init(void){
sqlite3_vfs_register(&aVfs[i], 0);
}
#endif
-#endif
sqlite3_vfs_register(&unixVfs, 1);
return SQLITE_OK;
}