| 3216 | } |
| 3217 | |
| 3218 | void st_select_lex::init_select() |
| 3219 | { |
| 3220 | sj_nests.empty(); |
| 3221 | sj_subselects.empty(); |
| 3222 | group_list.empty(); |
| 3223 | if (group_list_ptrs) |
| 3224 | group_list_ptrs->clear(); |
| 3225 | type= 0; |
| 3226 | db= null_clex_str; |
| 3227 | having= 0; |
| 3228 | table_join_options= 0; |
| 3229 | select_lock= select_lock_type::NONE; |
| 3230 | in_sum_expr= with_wild= with_wild_returning= 0; |
| 3231 | options= 0; |
| 3232 | ftfunc_list_alloc.empty(); |
| 3233 | inner_sum_func_list= 0; |
| 3234 | ftfunc_list= &ftfunc_list_alloc; |
| 3235 | order_list.empty(); |
| 3236 | /* Set limit and offset to default values */ |
| 3237 | limit_params.clear(); |
| 3238 | |
| 3239 | /* Reset bit fields */ |
| 3240 | is_set_query_expr_tail= 0; |
| 3241 | with_sum_func= 0; |
| 3242 | with_all_modifier= 0; |
| 3243 | is_correlated= 0; |
| 3244 | in_tvc= 0; |
| 3245 | skip_locked= 0; |
| 3246 | m_non_agg_field_used= 0; |
| 3247 | m_agg_func_used= 0; |
| 3248 | m_custom_agg_func_used= 0; |
| 3249 | |
| 3250 | cur_pos_in_select_list= UNDEF_POS; |
| 3251 | cond_value= having_value= Item::COND_UNDEF; |
| 3252 | inner_refs_list.empty(); |
| 3253 | insert_tables= 0; |
| 3254 | merged_into= 0; |
| 3255 | name_visibility_map.clear_all(); |
| 3256 | with_dep= 0; |
| 3257 | join= 0; |
| 3258 | lock_type= TL_READ_DEFAULT; |
| 3259 | save_many_values.empty(); |
| 3260 | save_insert_list= 0; |
| 3261 | tvc= 0; |
| 3262 | in_funcs.empty(); |
| 3263 | curr_tvc_name= 0; |
| 3264 | versioned_tables= 0; |
| 3265 | is_tvc_wrapper= false; |
| 3266 | nest_flags= 0; |
| 3267 | orig_names_of_item_list_elems= 0; |
| 3268 | item_list_usage= MARK_COLUMNS_READ; |
| 3269 | opt_hints_qb= 0; |
| 3270 | parsed_optimizer_hints= 0; |
| 3271 | } |
| 3272 | |
| 3273 | /* |
| 3274 | st_select_lex structures linking |
no test coverage detected