mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
fixup 0bd9f755b
MDEV-26062
Pass char* to WSREP_LOG and others, instead of non-POD objects
This commit is contained in:
parent
43099af95b
commit
9d5967f74b
1 changed files with 6 additions and 6 deletions
|
@ -2475,13 +2475,13 @@ row_upd_sec_index_entry(
|
|||
case DB_LOCK_WAIT_TIMEOUT:
|
||||
WSREP_DEBUG("Foreign key check fail: "
|
||||
"%s on table %s index %s query %s",
|
||||
ut_strerr(err), index->name, index->table->name,
|
||||
ut_strerr(err), index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
break;
|
||||
default:
|
||||
WSREP_ERROR("Foreign key check fail: "
|
||||
"%s on table %s index %s query %s",
|
||||
ut_strerr(err), index->name, index->table->name,
|
||||
ut_strerr(err), index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
break;
|
||||
}
|
||||
|
@ -2810,14 +2810,14 @@ check_fk:
|
|||
case DB_LOCK_WAIT_TIMEOUT:
|
||||
WSREP_DEBUG("Foreign key check fail: "
|
||||
"%s on table %s index %s query %s",
|
||||
ut_strerr(err), index->name, index->table->name,
|
||||
ut_strerr(err), index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
|
||||
goto err_exit;
|
||||
default:
|
||||
WSREP_ERROR("Foreign key check fail: "
|
||||
"%s on table %s index %s query %s",
|
||||
ut_strerr(err), index->name, index->table->name,
|
||||
ut_strerr(err), index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
|
||||
goto err_exit;
|
||||
|
@ -3041,13 +3041,13 @@ row_upd_del_mark_clust_rec(
|
|||
case DB_LOCK_WAIT_TIMEOUT:
|
||||
WSREP_DEBUG("Foreign key check fail: "
|
||||
"%d on table %s index %s query %s",
|
||||
err, index->name, index->table->name,
|
||||
err, index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
break;
|
||||
default:
|
||||
WSREP_ERROR("Foreign key check fail: "
|
||||
"%d on table %s index %s query %s",
|
||||
err, index->name, index->table->name,
|
||||
err, index->name(), index->table->name.m_name,
|
||||
wsrep_thd_query(trx->mysql_thd));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue