mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
MDEV-24966 fixup: cmake -DWITH_WSREP=OFF
This commit is contained in:
parent
a1e70388c4
commit
72e0601d11
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue