LOGIF_MAYBE macros cleaned away.
Used in few places and only obscured what was going on.
This commit is contained in:
@ -628,10 +628,13 @@ dcb_process_victim_queue(DCB *listofdcb)
|
||||
#endif /* FAKE_CODE */
|
||||
}
|
||||
}
|
||||
LOGIF_MAYBE(LT, (dcb_get_ses_log_info(
|
||||
dcb,
|
||||
&tls_log_info.li_sesid,
|
||||
&tls_log_info.li_enabled_logs)));
|
||||
|
||||
if (LOG_MAY_BE_ENABLED(LOGFILE_TRACE))
|
||||
{
|
||||
dcb_get_ses_log_info(dcb,
|
||||
&tls_log_info.li_sesid,
|
||||
&tls_log_info.li_enabled_logs);
|
||||
}
|
||||
|
||||
dcb->state = DCB_STATE_DISCONNECTED;
|
||||
nextdcb = dcb->memdata.next;
|
||||
|
Reference in New Issue
Block a user