Home
last modified time | relevance | path

Searched refs:key_part_nr (Results 1 – 19 of 19) sorted by relevance

/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dopt_range.cc9596 uint key_part_nr; in get_best_group_min_max() local
9812 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
9817 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
9819 if (key_part_nr < 1 || in get_best_group_min_max()
9820 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
9822 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
9824 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
9826 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
9844 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
9845 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dopt_range.cc11489 uint key_part_nr; in get_best_group_min_max() local
11746 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11751 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
11753 if (key_part_nr < 1 || in get_best_group_min_max()
11754 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
11759 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11761 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11763 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
11781 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11782 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dopt_range.cc11489 uint key_part_nr; in get_best_group_min_max() local
11746 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11751 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
11753 if (key_part_nr < 1 || in get_best_group_min_max()
11754 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
11759 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11761 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11763 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
11781 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11782 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dopt_range.cc12055 uint key_part_nr; in get_best_group_min_max() local
12349 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12354 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12356 if (key_part_nr < 1 || in get_best_group_min_max()
12357 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12362 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12364 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12366 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12384 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12385 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Dopt_range.cc12055 uint key_part_nr; in get_best_group_min_max() local
12349 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12354 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12356 if (key_part_nr < 1 || in get_best_group_min_max()
12357 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12362 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12364 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12366 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12384 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12385 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dopt_range.cc12094 uint key_part_nr; in get_best_group_min_max() local
12388 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12393 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12395 if (key_part_nr < 1 || in get_best_group_min_max()
12396 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12401 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12403 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12405 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12423 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12424 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/
H A Dopt_range.cc12055 uint key_part_nr; in get_best_group_min_max() local
12349 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12354 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12356 if (key_part_nr < 1 || in get_best_group_min_max()
12357 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12362 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12364 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12366 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12384 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12385 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dopt_range.cc12094 uint key_part_nr; in get_best_group_min_max() local
12388 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12393 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12395 if (key_part_nr < 1 || in get_best_group_min_max()
12396 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12401 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12403 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12405 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12423 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12424 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dopt_range.cc12094 uint key_part_nr; in get_best_group_min_max() local
12388 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12393 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12395 if (key_part_nr < 1 || in get_best_group_min_max()
12396 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12401 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12403 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12405 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
12423 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12424 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dopt_range.cc11489 uint key_part_nr; in get_best_group_min_max() local
11746 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11751 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
11753 if (key_part_nr < 1 || in get_best_group_min_max()
11754 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
11759 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11761 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11763 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
11781 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11782 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dopt_range.cc11465 uint key_part_nr; in get_best_group_min_max() local
11722 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11727 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
11729 if (key_part_nr < 1 || in get_best_group_min_max()
11730 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
11735 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11737 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11739 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
11757 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11758 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Dopt_range.cc11465 uint key_part_nr; in get_best_group_min_max() local
11722 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11727 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
11729 if (key_part_nr < 1 || in get_best_group_min_max()
11730 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
11735 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11737 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11739 max_key_part= max(max_key_part,key_part_nr); in get_best_group_min_max()
11757 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11758 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dopt_range.cc13265 uint key_part_nr; in get_best_group_min_max() local
13559 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
13564 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
13566 if (key_part_nr < 1 || in get_best_group_min_max()
13567 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
13572 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
13574 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
13576 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
13594 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
13595 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dopt_range.cc13265 uint key_part_nr; in get_best_group_min_max() local
13559 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
13564 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
13566 if (key_part_nr < 1 || in get_best_group_min_max()
13567 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
13572 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
13574 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
13576 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
13594 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
13595 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dopt_range.cc12508 uint key_part_nr; in get_best_group_min_max() local
12742 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12747 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12749 if (key_part_nr < 1 || in get_best_group_min_max()
12750 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12752 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12754 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12756 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
12774 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12775 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dopt_range.cc12508 uint key_part_nr; in get_best_group_min_max() local
12742 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
12747 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
12749 if (key_part_nr < 1 || in get_best_group_min_max()
12750 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
12752 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
12754 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
12756 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
12774 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
12775 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dopt_range.cc11662 uint key_part_nr; in get_best_group_min_max() local
11929 key_part_nr = get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
11934 if (used_key_parts_map.is_set(key_part_nr)) continue; in get_best_group_min_max()
11935 if (key_part_nr < 1 || in get_best_group_min_max()
11936 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) { in get_best_group_min_max()
11940 cur_part = cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
11942 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
11944 max_key_part = max(max_key_part, key_part_nr); in get_best_group_min_max()
11960 key_part_nr = get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
11961 if (key_part_nr <= cur_group_key_parts) { in get_best_group_min_max()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dopt_range.cc13623 uint key_part_nr; in get_best_group_min_max() local
13917 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
13922 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
13924 if (key_part_nr < 1 || in get_best_group_min_max()
13925 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
13930 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
13932 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
13934 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
13952 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
13953 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dopt_range.cc13623 uint key_part_nr; in get_best_group_min_max() local
13917 key_part_nr= get_field_keypart(cur_index_info, item_field->field); in get_best_group_min_max()
13922 if (used_key_parts_map.is_set(key_part_nr)) in get_best_group_min_max()
13924 if (key_part_nr < 1 || in get_best_group_min_max()
13925 (!is_agg_distinct && key_part_nr > join->fields_list.elements)) in get_best_group_min_max()
13930 cur_part= cur_index_info->key_part + key_part_nr - 1; in get_best_group_min_max()
13932 used_key_parts_map.set_bit(key_part_nr); in get_best_group_min_max()
13934 max_key_part= MY_MAX(max_key_part,key_part_nr); in get_best_group_min_max()
13952 key_part_nr= get_field_keypart(cur_index_info, min_max_arg_item->field); in get_best_group_min_max()
13953 if (key_part_nr <= cur_group_key_parts) in get_best_group_min_max()
[all …]