diff options
author | unknown <timour@mysql.com> | 2004-05-17 15:14:19 +0300 |
---|---|---|
committer | unknown <timour@mysql.com> | 2004-05-17 15:14:19 +0300 |
commit | d1b02b37cc5498ef655f5f184fc81d88b50370b1 (patch) | |
tree | 339040f7b554f68d462a084d265858d8683d740b /sql/sql_test.cc | |
parent | 8d18ae3986f15c0fd4bb4da2f06487e14420106b (diff) | |
download | mariadb-git-d1b02b37cc5498ef655f5f184fc81d88b50370b1.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); |