Skip to content

Commit dbda504

Browse files
author
Jan Lindström
committed
Fix merge error and compiler warning.
1 parent 48b7245 commit dbda504

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6003,14 +6003,12 @@ ha_innobase::write_row(
60036003
if (!error_result
60046004
&& wsrep_on(user_thd)
60056005
&& wsrep_thd_exec_mode(user_thd) == LOCAL_STATE
6006-
&& !wsrep_consistency_check(user_thd))
6006+
&& !wsrep_consistency_check(user_thd)
60076007
&& (sql_command != SQLCOM_CREATE_TABLE)
60086008
&& (sql_command != SQLCOM_LOAD ||
60096009
thd_binlog_format(user_thd) == BINLOG_FORMAT_ROW)) {
60106010

6011-
{
6012-
if (wsrep_append_keys(user_thd, false, record, NULL))
6013-
{
6011+
if (wsrep_append_keys(user_thd, false, record, NULL)) {
60146012
DBUG_PRINT("wsrep", ("row key failed"));
60156013
error_result = HA_ERR_INTERNAL_ERROR;
60166014
goto wsrep_error;
@@ -13028,16 +13026,15 @@ static int innobase_wsrep_get_checkpoint(handlerton* hton, XID* xid)
1302813026
return 0;
1302913027
}
1303013028

13031-
static void
13032-
wsrep_fake_trx_id(
13033-
/*==================*/
13029+
static void wsrep_fake_trx_id(
1303413030
handlerton *hton,
1303513031
THD *thd) /*!< in: user thread handle */
1303613032
{
1303713033
mutex_enter(&kernel_mutex);
1303813034
trx_id_t trx_id = trx_sys_get_new_trx_id();
1303913035
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));
1304113038

1304213039
(void *)wsrep_ws_handle_for_trx(wsrep_thd_ws_handle(thd), trx_id);
1304313040
}

0 commit comments

Comments
 (0)