574
574
sz= sizeof(optimizer::KeyField) *
575
575
(((session->lex().current_select->cond_count+1)*2 +
576
576
session->lex().current_select->between_count)*m+1);
582
if (my_init_dynamic_array(keyuse, sizeof(optimizer::KeyUse), 20, 64))
581
my_init_dynamic_array(keyuse, sizeof(optimizer::KeyUse), 20, 64);
586
584
add_key_fields(join_tab->join, &end, &and_level, cond, normal_tables,