MXS-2410: Uniquely identify DCBs

The address alone doesn't guarantee validity of a DCB.
This commit is contained in:
Markus Mäkelä
2019-03-27 11:58:31 +02:00
parent 3448a36b68
commit 04f70879d2
2 changed files with 9 additions and 2 deletions

View File

@ -184,6 +184,8 @@ typedef struct dcb
uint32_t n_close; /** How many times dcb_close has been called. */
char *path; /** If a Unix socket, the path it was bound to. */
skygw_chk_t dcb_chk_tail;
uint64_t m_uid; /**< Unique identifier for this DCB */
} DCB;
/**