1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Always include the unixShm.id field, even when not debugging.

FossilOrigin-Name: 07803476206b8cde60ccc320b9ccdc0d48a41d65
This commit is contained in:
drh
2011-08-31 18:35:34 +00:00
parent 7730c4457e
commit fd53231c85
3 changed files with 8 additions and 10 deletions

View File

@@ -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
};
/*