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

Method push_context

sql/sp_pcontext.cc:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89sp_pcontext *sp_pcontext::push_context(THD *thd, sp_pcontext::enum_scope scope)
90{
91 sp_pcontext *child= new (thd->mem_root) sp_pcontext(this, scope);
92
93 if (child)
94 m_children.append(child);
95 return child;
96}
97
98
99sp_pcontext *sp_pcontext::pop_context()

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected