diff options
author | drh <drh@noemail.net> | 2011-08-31 18:35:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-08-31 18:35:34 +0000 |
commit | fd53231c8587ac7eb19e0b8b5d92af1c865e23ab (patch) | |
tree | cd48b74985e3db1d2d94fb0f2a7740b87171bc86 /src/os_unix.c | |
parent | 7730c4457ec47a04184be4756cb1a4751bcc268b (diff) | |
download | sqlite-fd53231c8587ac7eb19e0b8b5d92af1c865e23ab.tar.gz sqlite-fd53231c8587ac7eb19e0b8b5d92af1c865e23ab.zip |
Always include the unixShm.id field, even when not debugging.
FossilOrigin-Name: 07803476206b8cde60ccc320b9ccdc0d48a41d65
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index f273d04cb..1c5a5bad5 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3640,11 +3640,9 @@ struct unixShm { unixShmNode *pShmNode; /* The underlying unixShmNode object */ unixShm *pNext; /* Next unixShm with the same unixShmNode */ u8 hasMutex; /* True if holding the unixShmNode mutex */ + u8 id; /* Id of this connection within its unixShmNode */ u16 sharedMask; /* Mask of shared locks held */ u16 exclMask; /* Mask of exclusive locks held */ -#ifdef SQLITE_DEBUG - u8 id; /* Id of this connection within its unixShmNode */ -#endif }; /* |