[CP] fix session lock leak when set dbms_monitor.ob_session_trace_disable
This commit is contained in:
@ -45,11 +45,12 @@ bool ObFLTResetSessOp::operator()(sql::ObSQLSessionMgr::Key key, ObSQLSessionInf
|
|||||||
}
|
}
|
||||||
} else if (sess_info->is_coninfo_set_by_sess()) {
|
} else if (sess_info->is_coninfo_set_by_sess()) {
|
||||||
// already has, do nothing
|
// already has, do nothing
|
||||||
|
(void)sess_info->unlock_thread_data();
|
||||||
} else {
|
} else {
|
||||||
sess_info->set_send_control_info(false);
|
sess_info->set_send_control_info(false);
|
||||||
sess_info->get_control_info().reset();
|
sess_info->get_control_info().reset();
|
||||||
}
|
|
||||||
(void)sess_info->unlock_thread_data();
|
(void)sess_info->unlock_thread_data();
|
||||||
|
}
|
||||||
(void)sess_info->unlock_query();
|
(void)sess_info->unlock_query();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user