/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/ |
H A D | sql_select.cc | 3547 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 3553 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 3570 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 3596 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 3598 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|
H A D | table.h | 1115 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/ |
H A D | sql_select.cc | 3547 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 3553 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 3570 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 3596 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 3598 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|
H A D | table.h | 1115 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/ |
H A D | sql_select.cc | 3519 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 3525 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 3542 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 3566 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 3568 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|
H A D | table.h | 1102 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/ |
H A D | sql_select.cc | 3547 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 3553 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 3570 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 3596 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 3598 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|
H A D | table.h | 1115 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/mysql56-client/mysql-5.6.51/sql/ |
H A D | sql_select.cc | 3519 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 3525 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 3542 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 3566 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 3568 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|
H A D | table.h | 1102 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/mysql57-client/mysql-5.7.36/sql/ |
H A D | sql_optimizer.cc | 1469 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1475 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1493 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1494 const_key_parts>>= 1) in test_if_order_by_key() 1518 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1520 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5285 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8314 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/ |
H A D | sql_optimizer.cc | 1488 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1494 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1512 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1513 const_key_parts>>= 1) in test_if_order_by_key() 1537 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1539 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5329 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8359 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
H A D | table.h | 1163 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/ |
H A D | sql_optimizer.cc | 1469 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1475 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1493 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1494 const_key_parts>>= 1) in test_if_order_by_key() 1518 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1520 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5285 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8314 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
H A D | table.h | 1153 key_part_map const_key_parts[MAX_KEY]; member
|
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/ |
H A D | sql_optimizer.cc | 1488 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1494 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1512 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1513 const_key_parts>>= 1) in test_if_order_by_key() 1537 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1539 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5329 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8359 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/ |
H A D | sql_optimizer.cc | 1488 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1494 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1512 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1513 const_key_parts>>= 1) in test_if_order_by_key() 1537 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1539 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5329 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8359 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/ |
H A D | sql_optimizer.cc | 1469 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 1475 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 1493 for (; const_key_parts & 1 && key_part < key_part_end ; in test_if_order_by_key() 1494 const_key_parts>>= 1) in test_if_order_by_key() 1518 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1520 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 5268 memset(table->const_key_parts, 0, sizeof(key_part_map)*table->s->keys); in init_planner_arrays() 8297 table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/ |
H A D | sql_optimizer.cc | 1562 key_part_map const_key_parts = table->const_key_parts[idx]; in test_if_order_by_key() local 1573 for (; order; order = order->next, const_key_parts >>= 1) { in test_if_order_by_key() 1587 for (; const_key_parts & 1 && key_part < key_part_end; in test_if_order_by_key() 1588 const_key_parts >>= 1) in test_if_order_by_key() 1610 const_key_parts = table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 1612 for (; const_key_parts & 1 && key_part < key_part_end; in test_if_order_by_key() 1613 const_key_parts >>= 1) in test_if_order_by_key() 8037 table->const_key_parts[use->key] |= use->keypart_map; in update_ref_and_keys()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/ |
H A D | table.cc | 4017 &outparam->const_key_parts, in open_table_from_share() 7875 memmove(new_const_key_parts, const_key_parts, in alloc_keys() 7876 s->keys * sizeof(const_key_parts)); in alloc_keys() 7879 const_key_parts= new_const_key_parts; in alloc_keys() 7880 bzero((char*) (const_key_parts + s->keys), in alloc_keys() 7881 sizeof(*const_key_parts) * key_count); in alloc_keys() 8486 bzero((char*) const_key_parts, sizeof(key_part_map) * s->keys); in update_const_key_parts() 8501 const_key_parts[index]|= part_map; in update_const_key_parts() 10049 TRASH_ALLOC(const_key_parts, s->keys * sizeof(*const_key_parts)); in initialize_opt_range_structures()
|
H A D | sql_select.cc | 7027 use->table->const_key_parts[use->key]|= use->keypart_map; in sort_and_filter_keyuse() 9352 !(quick_key_map & ~table->const_key_parts[key])) in table_cond_selectivity() 18536 key_part_map *const_key_parts; in start() local 18632 &const_key_parts, sizeof(*const_key_parts), in start() 18651 bzero((char*) const_key_parts, sizeof(*const_key_parts)); in start() 18658 table->const_key_parts= const_key_parts; in start() 23161 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 23176 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 23186 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 23204 table->const_key_parts[pk] == PREV_BITS(uint, in test_if_order_by_key() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/ |
H A D | table.cc | 4017 &outparam->const_key_parts, in open_table_from_share() 7875 memmove(new_const_key_parts, const_key_parts, in alloc_keys() 7876 s->keys * sizeof(const_key_parts)); in alloc_keys() 7879 const_key_parts= new_const_key_parts; in alloc_keys() 7880 bzero((char*) (const_key_parts + s->keys), in alloc_keys() 7881 sizeof(*const_key_parts) * key_count); in alloc_keys() 8486 bzero((char*) const_key_parts, sizeof(key_part_map) * s->keys); in update_const_key_parts() 8501 const_key_parts[index]|= part_map; in update_const_key_parts() 10049 TRASH_ALLOC(const_key_parts, s->keys * sizeof(*const_key_parts)); in initialize_opt_range_structures()
|
H A D | sql_select.cc | 7027 use->table->const_key_parts[use->key]|= use->keypart_map; in sort_and_filter_keyuse() 9352 !(quick_key_map & ~table->const_key_parts[key])) in table_cond_selectivity() 18536 key_part_map *const_key_parts; in start() local 18632 &const_key_parts, sizeof(*const_key_parts), in start() 18651 bzero((char*) const_key_parts, sizeof(*const_key_parts)); in start() 18658 table->const_key_parts= const_key_parts; in start() 23161 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 23176 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 23186 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 23204 table->const_key_parts[pk] == PREV_BITS(uint, in test_if_order_by_key() [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/sql/ |
H A D | table.h | 994 key_part_map const_key_parts[MAX_KEY]; member
|
H A D | sql_select.cc | 2754 bzero((char*) table->const_key_parts, sizeof(key_part_map)*table->s->keys); in make_join_statistics() 4145 use->table->const_key_parts[use->key]|= use->keypart_map; in update_ref_and_keys() 8741 tab->const_key_parts[use->key]|= use->keypart_map; in update_const_equal_items() 13484 key_part_map const_key_parts=table->const_key_parts[idx]; in test_if_order_by_key() local 13490 for (; order ; order=order->next, const_key_parts>>=1) in test_if_order_by_key() 13499 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key() 13517 const_key_parts=table->const_key_parts[table->s->primary_key]; in test_if_order_by_key() 13519 for (; const_key_parts & 1 ; const_key_parts>>= 1) in test_if_order_by_key()
|