mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14595 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
8924f6fc9c
commit
7ea6258beb
1 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,6 @@ extern "C" {
|
|||
#include "misc.h"
|
||||
#endif
|
||||
#include "toku_os.h"
|
||||
#include "inttypes.h"
|
||||
}
|
||||
|
||||
|
||||
|
@ -515,7 +514,7 @@ static int tokudb_release_savepoint(handlerton * hton, THD * thd, void *savepoin
|
|||
static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) {
|
||||
TOKUDB_DBUG_ENTER("tokudb_show_engine_status");
|
||||
int error;
|
||||
u_int64_t num_bytes_in_db = 0;
|
||||
ulonglong num_bytes_in_db = 0;
|
||||
DB* curr_db = NULL;
|
||||
DB_TXN* txn = NULL;
|
||||
DBC* tmp_cursor = NULL;
|
||||
|
@ -603,7 +602,7 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print) {
|
|||
}
|
||||
}
|
||||
|
||||
sprintf(data_amount_msg, "Number of bytes in database: %"PRIu64, num_bytes_in_db);
|
||||
sprintf(data_amount_msg, "Number of bytes in database: %ull", num_bytes_in_db);
|
||||
stat_print(
|
||||
thd,
|
||||
tokudb_hton_name,
|
||||
|
|
Loading…
Reference in a new issue