Temporarily disable listmanager debug checks

Since the listmanager code isn't used, the debug assertions will always
fail. They should be disabled until the listmanager code can converted to
the per-thread model.
This commit is contained in:
Markus Makela
2016-10-27 15:13:53 +03:00
parent 51842333d7
commit abc0681248
2 changed files with 4 additions and 3 deletions

View File

@ -377,7 +377,8 @@ void
dcb_free_all_memory(DCB *dcb)
{
DCB_CALLBACK *cb_dcb;
ss_dassert(dcb->entry_is_in_use);
// TODO: Uncomment once listmanager code is in use
//ss_dassert(dcb->entry_is_in_use);
if (dcb->protocol && (!DCB_IS_CLONE(dcb)))
{
@ -1842,10 +1843,12 @@ void printAllDCBs()
void
dprintOneDCB(DCB *pdcb, DCB *dcb)
{
/* TODO: Uncomment once listmanager code is in use
if (false == dcb->entry_is_in_use)
{
return;
}
*/
dcb_printf(pdcb, "DCB: %p\n", (void *)dcb);
dcb_printf(pdcb, "\tDCB state: %s\n",
gw_dcb_state2string(dcb->state));