@@ -6003,14 +6003,12 @@ ha_innobase::write_row(
6003
6003
if (!error_result
6004
6004
&& wsrep_on (user_thd)
6005
6005
&& wsrep_thd_exec_mode (user_thd) == LOCAL_STATE
6006
- && !wsrep_consistency_check (user_thd))
6006
+ && !wsrep_consistency_check (user_thd)
6007
6007
&& (sql_command != SQLCOM_CREATE_TABLE)
6008
6008
&& (sql_command != SQLCOM_LOAD ||
6009
6009
thd_binlog_format (user_thd) == BINLOG_FORMAT_ROW)) {
6010
6010
6011
- {
6012
- if (wsrep_append_keys (user_thd, false , record, NULL ))
6013
- {
6011
+ if (wsrep_append_keys (user_thd, false , record, NULL )) {
6014
6012
DBUG_PRINT (" wsrep" , (" row key failed" ));
6015
6013
error_result = HA_ERR_INTERNAL_ERROR;
6016
6014
goto wsrep_error;
@@ -13028,16 +13026,15 @@ static int innobase_wsrep_get_checkpoint(handlerton* hton, XID* xid)
13028
13026
return 0 ;
13029
13027
}
13030
13028
13031
- static void
13032
- wsrep_fake_trx_id (
13033
- /* ==================*/
13029
+ static void wsrep_fake_trx_id (
13034
13030
handlerton *hton,
13035
13031
THD *thd) /* !< in: user thread handle */
13036
13032
{
13037
13033
mutex_enter (&kernel_mutex);
13038
13034
trx_id_t trx_id = trx_sys_get_new_trx_id ();
13039
13035
mutex_exit (&kernel_mutex);
13040
- WSREP_DEBUG (" innodb fake trx id: %lu thd: %s" , trx_id, wsrep_thd_query (thd));
13036
+ WSREP_DEBUG (" innodb fake trx id: %llu thd: %s" ,
13037
+ trx_id, wsrep_thd_query (thd));
13041
13038
13042
13039
(void *)wsrep_ws_handle_for_trx (wsrep_thd_ws_handle (thd), trx_id);
13043
13040
}
0 commit comments