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

Method is_union

sql/sql_lex.h:1011–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009typedef class st_select_lex SELECT_LEX;
1010
1011inline bool st_select_lex_unit::is_union ()
1012{
1013 return first_select()->next_select() &&
1014 first_select()->next_select()->linkage == UNION_TYPE;
1015}
1016
1017/// Utility RAII class to save/modify/restore a Resolve_place
1018class Switch_resolve_place

Callers 1

is_part_of_unionMethod · 0.80

Calls 1

next_selectMethod · 0.80

Tested by

no test coverage detected