Commit 36873d17 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

fix more build errors

git-svn-id: file:///svn/mysql/tokudb-engine/src@14594 c7de825b-a66e-492c-adef-691d508d4ae1
parent 64b911ca
...@@ -7,6 +7,7 @@ extern "C" { ...@@ -7,6 +7,7 @@ extern "C" {
#include "misc.h" #include "misc.h"
#endif #endif
#include "toku_os.h" #include "toku_os.h"
#include "inttypes.h"
} }
...@@ -576,7 +577,6 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) { ...@@ -576,7 +577,6 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) {
); );
if (error) { goto cleanup; } if (error) { goto cleanup; }
DBUG_PRINT("info", ("size of %s is %lld hidden_primary_key %d!!\n", name_buff, dict_stats.bt_dsize, *(uchar *)curr_val.data));
curr_num_bytes = dict_stats.bt_dsize; curr_num_bytes = dict_stats.bt_dsize;
if (*(uchar *)curr_val.data) { if (*(uchar *)curr_val.data) {
// //
...@@ -603,7 +603,7 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) { ...@@ -603,7 +603,7 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) {
} }
} }
sprintf(data_amount_msg, "Number of bytes in database: %lld", num_bytes_in_db); sprintf(data_amount_msg, "Number of bytes in database: %"PRIu64, num_bytes_in_db);
stat_print( stat_print(
thd, thd,
tokudb_hton_name, tokudb_hton_name,
...@@ -634,10 +634,6 @@ cleanup: ...@@ -634,10 +634,6 @@ cleanup:
} }
static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
return tokudb_show_data_size(thd, stat_print);
}
static bool tokudb_show_logs(THD * thd, stat_print_fn * stat_print) { static bool tokudb_show_logs(THD * thd, stat_print_fn * stat_print) {
TOKUDB_DBUG_ENTER("tokudb_show_logs"); TOKUDB_DBUG_ENTER("tokudb_show_logs");
char **all_logs, **free_logs, **a, **f; char **all_logs, **free_logs, **a, **f;
......
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