1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

SQL: vers_setup_select() misc refactoring

Renamed to SELECT_LEX::vers_setup_conds().
Moved optimized fields check to JOIN::vers_check_items().
This commit is contained in:
Aleksey Midenkov
2017-12-08 12:57:07 +03:00
parent 37adb4c066
commit 947aa0bab9
10 changed files with 75 additions and 78 deletions

View File

@ -2228,7 +2228,6 @@ void st_select_lex::init_query()
join= 0;
having= prep_having= where= prep_where= 0;
cond_pushed_into_where= cond_pushed_into_having= 0;
saved_where= 0;
olap= UNSPECIFIED_OLAP_TYPE;
having_fix_field= 0;
context.select_lex= this;
@ -2311,8 +2310,10 @@ void st_select_lex::init_select()
in_funcs.empty();
curr_tvc_name= 0;
in_tvc= false;
vers_import_outer= false;
vers_saved_where= NULL;
vers_export_outer.empty();
vers_import_outer= false;
versioned_tables= 0;
}
/*