MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / unlock_stack

Function unlock_stack

dbug/dbug.c:426–433  ·  view source on GitHub ↗

Unlock the stack debugging settings. @sa read_lock_stack */

Source from the content-addressed store, hash-verified

424 @sa read_lock_stack
425*/
426static void unlock_stack(CODE_STATE *cs)
427{
428 if (cs->stack == &init_settings)
429 {
430 if (--(cs->m_read_lock_count) == 0)
431 rw_unlock(&THR_LOCK_init_settings);
432 }
433}
434
435/*
436 * Translate some calls among different systems.

Callers 9

_db_set_Function · 0.85
_db_push_Function · 0.85
_db_pop_Function · 0.85
_db_explain_Function · 0.85
_db_enter_Function · 0.85
_db_return_Function · 0.85
_db_doprnt_Function · 0.85
_db_dump_Function · 0.85
_db_keyword_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected