| 87 | |
| 88 | |
| 89 | sp_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 | |
| 99 | sp_pcontext *sp_pcontext::pop_context() |