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

Method do_cont_backpatch

sql/sp_head.cc:610–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608
609
610void sp_parser_data::do_cont_backpatch(uint dest)
611{
612 sp_lex_branch_instr *i;
613
614 while ((i= m_cont_backpatch.head()) && i->get_cont_dest() == m_cont_level)
615 {
616 i->set_cont_dest(dest);
617 m_cont_backpatch.pop();
618 }
619
620 --m_cont_level;
621}
622
623
624void sp_parser_data::process_new_sp_instr(THD* thd, sp_instr *i)

Callers

nothing calls this directly

Calls 4

set_cont_destMethod · 0.80
headMethod · 0.45
get_cont_destMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected