MCPcopy Create free account
hub / github.com/MariaDB/server / init_query

Method init_query

sql/sql_lex.cc:3102–3133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3100
3101
3102void st_select_lex_unit::init_query()
3103{
3104 init_query_common();
3105 set_linkage(GLOBAL_OPTIONS_TYPE);
3106 lim.clear();
3107 union_distinct= 0;
3108 item= 0;
3109 union_result= 0;
3110 table= 0;
3111 fake_select_lex= 0;
3112 saved_fake_select_lex= 0;
3113 item_list.empty();
3114 found_rows_for_union= 0;
3115 derived= 0;
3116 with_clause= 0;
3117 with_element= 0;
3118
3119 /* reset all bit fields */
3120 prepared= 0;
3121 optimized= 0;
3122 optimized_2= 0;
3123 executed= 0;
3124 cleaned= 0;
3125 bag_set_op_optimized= 0;
3126 optimize_started= 0;
3127 have_except_all_or_intersect_all= 0;
3128 with_wrapped_tvc= 0;
3129 is_view= 0;
3130 describe= 0;
3131 cloned_from= 0;
3132 columns_are_renamed= 0;
3133}
3134
3135void st_select_lex::init_query()
3136{

Callers 7

Materialized_cursorMethod · 0.80
startMethod · 0.80
alloc_unitMethod · 0.80
alloc_selectMethod · 0.80
prepare_schema_tableFunction · 0.80
mysql_new_selectFunction · 0.80
wrap_tvcFunction · 0.80

Calls 4

clearMethod · 0.45
emptyMethod · 0.45
initMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected