Home
last modified time | relevance | path

Searched refs:first_select (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dsql_derived.cc143 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
273 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_filling() local
283 unit->set_limit(first_select); in mysql_derived_filling()
289 first_select->table_list.first, in mysql_derived_filling()
290 first_select->with_wild, in mysql_derived_filling()
291 first_select->item_list, first_select->where, in mysql_derived_filling()
292 (first_select->order_list.elements+ in mysql_derived_filling()
293 first_select->group_list.elements), in mysql_derived_filling()
294 first_select->order_list.first, in mysql_derived_filling()
295 first_select->group_list.first, in mysql_derived_filling()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
H A Dsql_union.cc420 (first_select()->active_options() & OPTION_FOUND_ROWS) | in prepare_fake_select_lex()
471 SELECT_LEX *last_select= first_select(); in prepare()
477 thd_arg->lex->set_current_select(first_select()); in prepare()
520 first_select()->context.resolve_in_select_list= true; in prepare()
522 for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) in prepare()
546 types= first_select()->item_list; in prepare()
547 else if (sl == first_select()) in prepare()
620 ulonglong create_options= first_select()->active_options() | in prepare()
959 SELECT_LEX *sl= first_select(); in assert_not_fully_clean()
1047 return is_union() ? &types : &first_select()->item_list; in get_unit_column_types()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
H A Dsql_union.cc420 (first_select()->active_options() & OPTION_FOUND_ROWS) | in prepare_fake_select_lex()
471 SELECT_LEX *last_select= first_select(); in prepare()
477 thd_arg->lex->set_current_select(first_select()); in prepare()
520 first_select()->context.resolve_in_select_list= true; in prepare()
522 for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) in prepare()
546 types= first_select()->item_list; in prepare()
547 else if (sl == first_select()) in prepare()
620 ulonglong create_options= first_select()->active_options() | in prepare()
967 SELECT_LEX *sl= first_select(); in assert_not_fully_clean()
1055 return is_union() ? &types : &first_select()->item_list; in get_unit_column_types()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
H A Dsql_union.cc420 (first_select()->active_options() & OPTION_FOUND_ROWS) | in prepare_fake_select_lex()
471 SELECT_LEX *last_select= first_select(); in prepare()
477 thd_arg->lex->set_current_select(first_select()); in prepare()
520 first_select()->context.resolve_in_select_list= true; in prepare()
522 for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) in prepare()
546 types= first_select()->item_list; in prepare()
547 else if (sl == first_select()) in prepare()
620 ulonglong create_options= first_select()->active_options() | in prepare()
959 SELECT_LEX *sl= first_select(); in assert_not_fully_clean()
1047 return is_union() ? &types : &first_select()->item_list; in get_unit_column_types()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
H A Dsql_union.cc420 (first_select()->active_options() & OPTION_FOUND_ROWS) | in prepare_fake_select_lex()
471 SELECT_LEX *last_select= first_select(); in prepare()
477 thd_arg->lex->set_current_select(first_select()); in prepare()
520 first_select()->context.resolve_in_select_list= true; in prepare()
522 for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) in prepare()
546 types= first_select()->item_list; in prepare()
547 else if (sl == first_select()) in prepare()
620 ulonglong create_options= first_select()->active_options() | in prepare()
967 SELECT_LEX *sl= first_select(); in assert_not_fully_clean()
1055 return is_union() ? &types : &first_select()->item_list; in get_unit_column_types()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dsql_derived.cc64 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in resolve_derived()
122 add("select#", derived->first_select()->select_number). in setup_materialized_derived()
128 const ulonglong create_options= derived->first_select()->active_options() | in setup_materialized_derived()
157 for (SELECT_LEX *sl= derived->first_select(); sl; sl= sl->next_select()) in setup_materialized_derived()
276 unit->first_select()->active_options() | in create_derived()
324 SELECT_LEX *first_select= unit->first_select(); in materialize_derived() local
325 JOIN *join= first_select->join; in materialize_derived()
327 thd->lex->set_current_select(first_select); in materialize_derived()
331 unit->set_limit(first_select); in materialize_derived()
H A Dsql_union.cc420 (first_select()->active_options() & OPTION_FOUND_ROWS) | in prepare_fake_select_lex()
471 SELECT_LEX *last_select= first_select(); in prepare()
477 thd_arg->lex->set_current_select(first_select()); in prepare()
520 first_select()->context.resolve_in_select_list= true; in prepare()
522 for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) in prepare()
546 types= first_select()->item_list; in prepare()
547 else if (sl == first_select()) in prepare()
620 ulonglong create_options= first_select()->active_options() | in prepare()
967 SELECT_LEX *sl= first_select(); in assert_not_fully_clean()
1055 return is_union() ? &types : &first_select()->item_list; in get_unit_column_types()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/
H A Dtable_factor_syntax-t.cc93 EXPECT_EQ(term, top_union->first_select()); in TEST_F()
101 SELECT_LEX *inner_term = inner_union->first_select(); in TEST_F()
111 EXPECT_EQ(term, top_union->first_select()); in TEST_F()
119 SELECT_LEX *inner_term = inner_union->first_select(); in TEST_F()
123 EXPECT_NE(term, term->table_list.first->derived_unit()->first_select()) in TEST_F()
134 EXPECT_EQ(block, top_union->first_select()); in TEST_F()
150 SELECT_LEX *first_inner_block = inner_union->first_select(); in TEST_F()
172 EXPECT_EQ(term, top_union->first_select()); in TEST_F()
180 EXPECT_EQ(term, top_union->first_select()); in TEST_F()
193 EXPECT_EQ(term1, top_union->first_select()); in TEST_F()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dsql_derived.cc189 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
194 for (SELECT_LEX *sl= first_select; sl; sl= sl->next_select()) in mysql_derived_prepare()
208 create_options= (first_select->options | thd->variables.option_bits | in mysql_derived_prepare()
368 (unit->first_select()->options | in mysql_derived_create()
421 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_materialize() local
422 JOIN *join= first_select->join; in mysql_derived_materialize()
424 lex->current_select= first_select; in mysql_derived_materialize()
428 unit->set_limit(first_select); in mysql_derived_materialize()
430 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_materialize()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dsql_derived.cc189 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
194 for (SELECT_LEX *sl= first_select; sl; sl= sl->next_select()) in mysql_derived_prepare()
208 create_options= (first_select->options | thd->variables.option_bits | in mysql_derived_prepare()
368 (unit->first_select()->options | in mysql_derived_create()
421 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_materialize() local
422 JOIN *join= first_select->join; in mysql_derived_materialize()
424 lex->current_select= first_select; in mysql_derived_materialize()
428 unit->set_limit(first_select); in mysql_derived_materialize()
430 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_materialize()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dsql_derived.cc189 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
194 for (SELECT_LEX *sl= first_select; sl; sl= sl->next_select()) in mysql_derived_prepare()
208 create_options= (first_select->options | thd->variables.option_bits | in mysql_derived_prepare()
368 (unit->first_select()->options | in mysql_derived_create()
421 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_materialize() local
422 JOIN *join= first_select->join; in mysql_derived_materialize()
424 lex->current_select= first_select; in mysql_derived_materialize()
428 unit->set_limit(first_select); in mysql_derived_materialize()
430 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_materialize()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dsql_derived.cc189 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
194 for (SELECT_LEX *sl= first_select; sl; sl= sl->next_select()) in mysql_derived_prepare()
208 create_options= (first_select->options | thd->variables.option_bits | in mysql_derived_prepare()
368 (unit->first_select()->options | in mysql_derived_create()
421 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_materialize() local
422 JOIN *join= first_select->join; in mysql_derived_materialize()
424 lex->current_select= first_select; in mysql_derived_materialize()
428 unit->set_limit(first_select); in mysql_derived_materialize()
430 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_materialize()
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Dsql_derived.cc189 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
194 for (SELECT_LEX *sl= first_select; sl; sl= sl->next_select()) in mysql_derived_prepare()
208 create_options= (first_select->options | thd->variables.option_bits | in mysql_derived_prepare()
368 (unit->first_select()->options | in mysql_derived_create()
421 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_materialize() local
422 JOIN *join= first_select->join; in mysql_derived_materialize()
424 lex->current_select= first_select; in mysql_derived_materialize()
428 unit->set_limit(first_select); in mysql_derived_materialize()
430 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_materialize()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dsql_derived.cc683 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
985 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
1010 lex->current_select= first_select; in mysql_derived_optimize()
1023 JOIN *join= first_select->join; in mysql_derived_optimize()
1241 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1272 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1275 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1277 lex->current_select= first_select; in mysql_derived_fill()
1280 first_select->with_wild, in mysql_derived_fill()
1281 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dsql_derived.cc683 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
985 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
1010 lex->current_select= first_select; in mysql_derived_optimize()
1023 JOIN *join= first_select->join; in mysql_derived_optimize()
1241 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1272 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1275 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1277 lex->current_select= first_select; in mysql_derived_fill()
1280 first_select->with_wild, in mysql_derived_fill()
1281 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dsql_derived.cc683 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
761 if ((res= first_select->vers_setup_conds(thd, in mysql_derived_prepare()
985 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
1010 lex->current_select= first_select; in mysql_derived_optimize()
1023 JOIN *join= first_select->join; in mysql_derived_optimize()
1241 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1272 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1275 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1277 lex->current_select= first_select; in mysql_derived_fill()
1280 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dsql_derived.cc683 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
761 if ((res= first_select->vers_setup_conds(thd, in mysql_derived_prepare()
985 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
1010 lex->current_select= first_select; in mysql_derived_optimize()
1023 JOIN *join= first_select->join; in mysql_derived_optimize()
1241 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1272 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1275 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1277 lex->current_select= first_select; in mysql_derived_fill()
1280 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dsql_derived.cc649 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
920 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
933 lex->current_select= first_select; in mysql_derived_optimize()
946 JOIN *join= first_select->join; in mysql_derived_optimize()
1142 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1173 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1176 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1178 lex->current_select= first_select; in mysql_derived_fill()
1181 first_select->with_wild, in mysql_derived_fill()
1182 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dsql_derived.cc649 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_prepare() local
920 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_optimize() local
933 lex->current_select= first_select; in mysql_derived_optimize()
946 JOIN *join= first_select->join; in mysql_derived_optimize()
1142 JOIN *join= unit->first_select()->join; in mysql_derived_fill()
1173 SELECT_LEX *first_select= unit->first_select(); in mysql_derived_fill() local
1176 first_select->options&= ~OPTION_FOUND_ROWS; in mysql_derived_fill()
1178 lex->current_select= first_select; in mysql_derived_fill()
1181 first_select->with_wild, in mysql_derived_fill()
1182 first_select->item_list, first_select->where, in mysql_derived_fill()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsql_union.cc403 SELECT_LEX *last_select = first_select(); in prepare()
408 thd->lex->set_current_select(first_select()); in prepare()
459 first_select()->context.resolve_in_select_list = true; in prepare()
498 types = first_select()->fields_list; in prepare()
499 else if (sl == first_select()) { in prepare()
843 JOIN *join = first_select()->join; in create_iterators()
919 ? first_select() in create_iterators()
1065 for (SELECT_LEX *select_lex = first_select(); select_lex; in ClearForExecution()
1302 SELECT_LEX *sl = first_select(); in assert_not_fully_clean()
1403 return first_select()->join->fields; in get_field_list()
[all …]

12345678910>>...19