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

Method convert_right_join

sql/sql_parse.cc:1728–1739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726*/
1727
1728TABLE_LIST *st_select_lex::convert_right_join()
1729{
1730 TABLE_LIST *tab2= join_list->pop();
1731 TABLE_LIST *tab1= join_list->pop();
1732 DBUG_ENTER("convert_right_join");
1733
1734 join_list->push_front(tab2);
1735 join_list->push_front(tab1);
1736 tab1->outer_join|= JOIN_TYPE_RIGHT;
1737
1738 DBUG_RETURN(tab1);
1739}
1740
1741
1742/**

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
push_frontMethod · 0.45

Tested by

no test coverage detected