diff options
author | drh <drh@noemail.net> | 2010-05-31 14:28:25 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-05-31 14:28:25 +0000 |
commit | 4222441deeb5b9393aa57d6bb8bf0792df3b53af (patch) | |
tree | 021a16eac7f92a2f4c0e72cb5c924d70471e6a8d /src/os_unix.c | |
parent | dcb1169fb7291d577bc2d5b793a5c1dec7478e05 (diff) | |
download | sqlite-4222441deeb5b9393aa57d6bb8bf0792df3b53af.tar.gz sqlite-4222441deeb5b9393aa57d6bb8bf0792df3b53af.zip |
Remove the tests that enable tracing based on the existance of the "vdbe_*"
files when in SQLITE_DEBUG mode.
FossilOrigin-Name: cdbb4e7ca7ec27e7e80dd66529d9d565f547887a
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 3b33edc93..b0602ac2a 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3180,8 +3180,8 @@ struct unixShm { /* ** Constants used for locking */ -#define UNIX_SHM_BASE 81 /* Byte offset of the first lock byte */ -#define UNIX_SHM_DMS 80 /* The deadman switch lock */ +#define UNIX_SHM_BASE ((18+SQLITE_SHM_NLOCK)*4) /* first lock byte */ +#define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */ #ifdef SQLITE_DEBUG /* |