Commit 87180f29 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

fix warnings in main

git-svn-id: file:///svn/mysql/tokudb-engine/src@15776 c7de825b-a66e-492c-adef-691d508d4ae1
parent e24c4917
......@@ -143,7 +143,7 @@ static inline void commit_txn(DB_TXN* txn, u_int32_t flags) {
int r;
r = txn->commit(txn, flags);
if (r != 0) {
sql_print_error("tried committing transaction 0x%x and got error code %d", txn, r);
sql_print_error("tried committing transaction %p and got error code %d", txn, r);
}
assert(r == 0);
}
......@@ -152,7 +152,7 @@ static inline void abort_txn(DB_TXN* txn) {
int r;
r = txn->abort(txn);
if (r != 0) {
sql_print_error("tried aborting transaction 0x%x and got error code %d", txn, r);
sql_print_error("tried aborting transaction %p and got error code %d", txn, r);
}
assert(r == 0);
}
......
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