Commit cac0c0ae authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

key_map is class for now => can't be printed directly

(found during BUG#1708 investigation)
parent 3e10f806
...@@ -164,10 +164,11 @@ TEST_join(JOIN *join) ...@@ -164,10 +164,11 @@ TEST_join(JOIN *join)
{ {
JOIN_TAB *tab=join->join_tab+i; JOIN_TAB *tab=join->join_tab+i;
TABLE *form=tab->table; TABLE *form=tab->table;
fprintf(DBUG_FILE,"%-16.16s type: %-7s q_keys: %4d refs: %d key: %d len: %d\n", fprintf(DBUG_FILE,
"%-16.16s type: %-7s q_keys: %4lld refs: %d key: %d len: %d\n",
form->table_name, form->table_name,
join_type_str[tab->type], join_type_str[tab->type],
tab->keys, tab->keys.to_ulonglong(),
tab->ref.key_parts, tab->ref.key_parts,
tab->ref.key, tab->ref.key,
tab->ref.key_length); tab->ref.key_length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment