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

Method push_label

sql/sp_pcontext.cc:201–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201sp_label *sp_pcontext::push_label(THD *thd, LEX_STRING name, uint ip)
202{
203 sp_label *label=
204 new (thd->mem_root) sp_label(name, ip, sp_label::IMPLICIT, this);
205
206 if (!label)
207 return NULL;
208
209 m_labels.push_front(label);
210
211 return label;
212}
213
214
215sp_label *sp_pcontext::find_label(LEX_STRING name)

Callers

nothing calls this directly

Calls 1

push_frontMethod · 0.45

Tested by

no test coverage detected