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

Function _db_enabled_

dbug/dbug.c:1387–1400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1385 */
1386
1387int _db_enabled_()
1388{
1389 CODE_STATE *cs;
1390
1391 get_code_state_or_return 0;
1392
1393 if (! DEBUGGING)
1394 return 0;
1395
1396 if (_db_keyword_(cs, cs->u_keyword, 0))
1397 return 1;
1398
1399 return 0;
1400}
1401
1402/*
1403 * FUNCTION

Callers

nothing calls this directly

Calls 1

_db_keyword_Function · 0.85

Tested by

no test coverage detected