diff options
author | timour@mysql.com <> | 2004-05-17 15:14:19 +0300 |
---|---|---|
committer | timour@mysql.com <> | 2004-05-17 15:14:19 +0300 |
commit | 40f7f58855b06ee6aeac4860452c3337b80e46af (patch) | |
tree | 339040f7b554f68d462a084d265858d8683d740b /sql/sql_test.cc | |
parent | 9620715679e21196e087a57f10f42b974c281fe3 (diff) | |
download | mariadb-git-40f7f58855b06ee6aeac4860452c3337b80e46af.tar.gz |
poratble printing of ha_rows values
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r-- | sql/sql_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc index bbe97cf086f..90a43f82a94 100644 --- a/sql/sql_test.cc +++ b/sql/sql_test.cc @@ -319,8 +319,10 @@ print_plan(JOIN* join, double read_time, double record_count, { join_table= (*plan_nodes); fputs(join_table->table->real_name, DBUG_FILE); - fprintf(DBUG_FILE, "(%u,%u,%u)", - join_table->found_records, join_table->records, join_table->read_time); + fprintf(DBUG_FILE, "(%lu,%lu,%lu)", + (ulong) join_table->found_records, + (ulong) join_table->records, + (ulong) join_table->read_time); fputc(' ', DBUG_FILE); } fputc('\n', DBUG_FILE); |