diff options
author | drh <drh@noemail.net> | 2008-07-10 00:32:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-07-10 00:32:42 +0000 |
commit | 93a960a0a8a537784e4f40db2ad06686618a234e (patch) | |
tree | 0909791b6b0e2367da56d8d69bd0166c03a1db10 /src/os_unix.c | |
parent | af005fbc13b325022058681ac9fefa970a762f2b (diff) | |
download | sqlite-93a960a0a8a537784e4f40db2ad06686618a234e.tar.gz sqlite-93a960a0a8a537784e4f40db2ad06686618a234e.zip |
Remove unused code. Test coverage enhancements. Modify the algorithm used
to select column names for VIEWs of joins so that the constructed column
names omits the underlying table names. (CVS 5386)
FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 45550951f..ca65836f4 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.192 2008/06/30 10:16:05 danielk1977 Exp $ +** $Id: os_unix.c,v 1.193 2008/07/10 00:32:42 drh Exp $ */ #include "sqliteInt.h" #if SQLITE_OS_UNIX /* This file is used on unix only */ @@ -543,6 +543,7 @@ static void releaseOpenCnt(struct openCnt *pOpen){ } } +#ifdef SQLITE_ENABLE_LOCKING_STYLE /* ** Tests a byte-range locking query to see if byte range locks are ** supported, if not we fall back to dotlockLockingStyle. @@ -566,6 +567,7 @@ static int testLockingStyle(int fd){ */ return LOCKING_STYLE_DOTFILE; } +#endif /* ** If SQLITE_ENABLE_LOCKING_STYLE is defined, this function Examines the |