mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Fix integer type mismatch in WSREP debug output
This commit is contained in:
parent
28c3459aa7
commit
644ffdeb92
2 changed files with 8 additions and 6 deletions
|
@ -10418,7 +10418,7 @@ wsrep_append_foreign_key(
|
|||
shared ? WSREP_KEY_SHARED : WSREP_KEY_EXCLUSIVE,
|
||||
copy);
|
||||
if (rcode) {
|
||||
DBUG_PRINT("wsrep", ("row key failed: %lu", rcode));
|
||||
DBUG_PRINT("wsrep", ("row key failed: %zu", rcode));
|
||||
WSREP_ERROR("Appending cascaded fk row key failed: %s, %lu",
|
||||
(wsrep_thd_query(thd)) ?
|
||||
wsrep_thd_query(thd) : "void", rcode);
|
||||
|
@ -18709,7 +18709,7 @@ wsrep_innobase_kill_one_trx(
|
|||
wsrep_thd_awake(thd, signal);
|
||||
} else {
|
||||
/* abort currently executing query */
|
||||
DBUG_PRINT("wsrep",("sending KILL_QUERY to: %ld",
|
||||
DBUG_PRINT("wsrep",("sending KILL_QUERY to: %lu",
|
||||
thd_get_thread_id(thd)));
|
||||
WSREP_DEBUG("kill query for: %ld",
|
||||
thd_get_thread_id(thd));
|
||||
|
@ -18840,7 +18840,8 @@ wsrep_fake_trx_id(
|
|||
mutex_enter(&trx_sys->mutex);
|
||||
trx_id_t trx_id = trx_sys_get_new_trx_id();
|
||||
mutex_exit(&trx_sys->mutex);
|
||||
WSREP_DEBUG("innodb fake trx id: %lu thd: %s", trx_id, wsrep_thd_query(thd));
|
||||
WSREP_DEBUG("innodb fake trx id: " TRX_ID_FMT " thd: %s",
|
||||
trx_id, wsrep_thd_query(thd));
|
||||
wsrep_ws_handle_for_trx(wsrep_thd_ws_handle(thd), trx_id);
|
||||
}
|
||||
|
||||
|
|
|
@ -10984,7 +10984,7 @@ wsrep_append_foreign_key(
|
|||
shared ? WSREP_KEY_SHARED : WSREP_KEY_EXCLUSIVE,
|
||||
copy);
|
||||
if (rcode) {
|
||||
DBUG_PRINT("wsrep", ("row key failed: %lu", rcode));
|
||||
DBUG_PRINT("wsrep", ("row key failed: %zu", rcode));
|
||||
WSREP_ERROR("Appending cascaded fk row key failed: %s, %lu",
|
||||
(wsrep_thd_query(thd)) ?
|
||||
wsrep_thd_query(thd) : "void", rcode);
|
||||
|
@ -19751,7 +19751,7 @@ wsrep_innobase_kill_one_trx(
|
|||
wsrep_thd_awake(thd, signal);
|
||||
} else {
|
||||
/* abort currently executing query */
|
||||
DBUG_PRINT("wsrep",("sending KILL_QUERY to: %ld",
|
||||
DBUG_PRINT("wsrep",("sending KILL_QUERY to: %lu",
|
||||
thd_get_thread_id(thd)));
|
||||
WSREP_DEBUG("kill query for: %ld",
|
||||
thd_get_thread_id(thd));
|
||||
|
@ -19878,7 +19878,8 @@ wsrep_fake_trx_id(
|
|||
mutex_enter(&trx_sys->mutex);
|
||||
trx_id_t trx_id = trx_sys_get_new_trx_id();
|
||||
mutex_exit(&trx_sys->mutex);
|
||||
WSREP_DEBUG("innodb fake trx id: %lu thd: %s", trx_id, wsrep_thd_query(thd));
|
||||
WSREP_DEBUG("innodb fake trx id: " TRX_ID_FMT " thd: %s",
|
||||
trx_id, wsrep_thd_query(thd));
|
||||
wsrep_ws_handle_for_trx(wsrep_thd_ws_handle(thd), trx_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue