| 199 | |
| 200 | |
| 201 | sp_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 | |
| 215 | sp_label *sp_pcontext::find_label(LEX_STRING name) |
nothing calls this directly
no test coverage detected