Commit d1b02b37 authored by unknown's avatar unknown

poratble printing of ha_rows values

parent 8d18ae39
...@@ -319,8 +319,10 @@ print_plan(JOIN* join, double read_time, double record_count, ...@@ -319,8 +319,10 @@ print_plan(JOIN* join, double read_time, double record_count,
{ {
join_table= (*plan_nodes); join_table= (*plan_nodes);
fputs(join_table->table->real_name, DBUG_FILE); fputs(join_table->table->real_name, DBUG_FILE);
fprintf(DBUG_FILE, "(%u,%u,%u)", fprintf(DBUG_FILE, "(%lu,%lu,%lu)",
join_table->found_records, join_table->records, join_table->read_time); (ulong) join_table->found_records,
(ulong) join_table->records,
(ulong) join_table->read_time);
fputc(' ', DBUG_FILE); fputc(' ', DBUG_FILE);
} }
fputc('\n', DBUG_FILE); fputc('\n', DBUG_FILE);
......
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