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

Function PushState

dbug/dbug.c:1732–1740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1730 */
1731
1732static void PushState(CODE_STATE *cs)
1733{
1734 struct settings *new_malloc;
1735
1736 new_malloc= (struct settings *) DbugMalloc(sizeof(struct settings));
1737 memset(new_malloc, 0, sizeof(struct settings));
1738 new_malloc->next= cs->stack;
1739 cs->stack= new_malloc;
1740}
1741
1742/*
1743 * FUNCTION

Callers 2

_db_set_Function · 0.85
_db_push_Function · 0.85

Calls 1

DbugMallocFunction · 0.85

Tested by

no test coverage detected