Commit 0a78d0aa authored by unknown's avatar unknown

Post-review changes.

parent ad370e3d
...@@ -252,7 +252,7 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time, ...@@ -252,7 +252,7 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
else else
{ {
fprintf(DBUG_FILE, fprintf(DBUG_FILE,
"%s; idx:%u, best: %g, atime: %g, itime: %g, count: %g\n", "%s; idx:%u, best: %g, accumulated: %g, increment: %g, count: %g\n",
info, idx, join->best_read, current_read_time, read_time, record_count); info, idx, join->best_read, current_read_time, read_time, record_count);
} }
...@@ -272,9 +272,9 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time, ...@@ -272,9 +272,9 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
Print the tables in JOIN->best_positions only if at least one complete plan Print the tables in JOIN->best_positions only if at least one complete plan
has been found. An indicator for this is the value of 'join->best_read'. has been found. An indicator for this is the value of 'join->best_read'.
*/ */
fputs("BEST_POSITIONS: ", DBUG_FILE);
if (join->best_read < DBL_MAX) if (join->best_read < DBL_MAX)
{ {
fputs("BEST_POSITIONS: ", DBUG_FILE);
for (i= 0; i < idx ; i++) for (i= 0; i < idx ; i++)
{ {
pos= join->best_positions[i]; pos= join->best_positions[i];
......
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