Commit 93a403bf authored by Nirbhay Choubey's avatar Nirbhay Choubey

Fix for build failure when WITH_WSREP=OFF.

parent 5ef55e2c
......@@ -320,6 +320,7 @@ unpack_row(Relay_log_info const *rli,
(int) (pack_ptr - old_pack_ptr)));
if (!pack_ptr)
{
#if WITH_WSREP
/*
Debug message to troubleshoot bug
https://mariadb.atlassian.net/browse/MDEV-4404
......@@ -331,6 +332,7 @@ unpack_row(Relay_log_info const *rli,
(ulong) old_pack_ptr, conv_table, conv_field,
(table_found) ? "found" : "not found", (ulong)row_end
);
#endif
rli->report(ERROR_LEVEL, ER_SLAVE_CORRUPT_EVENT,
"Could not read field '%s' of table '%s.%s'",
......
......@@ -868,9 +868,6 @@ trx_sys_update_mysql_binlog_offset(
mtr_t* mtr) /*!< in: mtr */
{
const char* file_name;
#ifndef WITH_WSREP
trx_sysf_t* sys_header;
#endif /* !WITH_WSREP */
if (ut_strlen(file_name_in) >= TRX_SYS_MYSQL_MASTER_LOG_NAME_LEN) {
......
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