summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2006-05-03 21:35:27 -0700
committerunknown <igor@rurik.mysql.com>2006-05-03 21:35:27 -0700
commit0a78d0aacdb5667202889b5aa7dece1ba13f265e (patch)
tree04196d9ee53117788d5d19445c6d94f1f3c5f01f /sql/sql_test.cc
parentad370e3d8945b8f9c0d30d68634ae1147ee6b9c6 (diff)
downloadmariadb-git-0a78d0aacdb5667202889b5aa7dece1ba13f265e.tar.gz
Post-review changes.
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 0784685432a..3e745ad8b47 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -252,7 +252,7 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
else
{
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);
}
@@ -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
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)
{
+ fputs("BEST_POSITIONS: ", DBUG_FILE);
for (i= 0; i < idx ; i++)
{
pos= join->best_positions[i];