Commit 72e0601d authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-24966 fixup: cmake -DWITH_WSREP=OFF

parent a1e70388
......@@ -1206,8 +1206,14 @@ dispatch_command_return do_command(THD *thd, bool blocking)
enum enum_server_command command;
DBUG_ENTER("do_command");
#ifdef WITH_WSREP
DBUG_ASSERT(!thd->async_state.pending_ops() ||
(WSREP(thd) && thd->wsrep_trx().state() == wsrep::transaction::s_aborted));
(WSREP(thd) &&
thd->wsrep_trx().state() == wsrep::transaction::s_aborted));
#else
DBUG_ASSERT(!thd->async_state.pending_ops());
#endif
if (thd->async_state.m_state == thd_async_state::enum_async_state::RESUMED)
{
/*
......
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