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

Function _db_push_

dbug/dbug.c:935–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933 */
934
935void _db_push_(const char *control)
936{
937 CODE_STATE *cs;
938 uint old_fflags;
939 get_code_state_or_return;
940
941 read_lock_stack(cs);
942 old_fflags=fflags(cs);
943 unlock_stack(cs);
944
945 PushState(cs);
946
947 if (DbugParse(cs, control))
948 {
949 read_lock_stack(cs);
950 FixTraceFlags(old_fflags, cs);
951 unlock_stack(cs);
952 }
953}
954
955
956/**

Callers

nothing calls this directly

Calls 5

read_lock_stackFunction · 0.85
unlock_stackFunction · 0.85
PushStateFunction · 0.85
DbugParseFunction · 0.85
FixTraceFlagsFunction · 0.85

Tested by

no test coverage detected