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

Method init

sql/sp_pcontext.cc:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46void sp_pcontext::init(uint var_offset,
47 uint cursor_offset,
48 int num_case_expressions)
49{
50 m_var_offset= var_offset;
51 m_cursor_offset= cursor_offset;
52 m_num_case_exprs= num_case_expressions;
53
54 m_labels.empty();
55}
56
57
58sp_pcontext::sp_pcontext()

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected