Commit b332ffc1 authored by Monty's avatar Monty Committed by Sergei Golubchik

Fixed assert in WSREP if one started with --wsrep_provider=..

parent 85f3ed5f
...@@ -3814,7 +3814,7 @@ mysql_execute_command(THD *thd) ...@@ -3814,7 +3814,7 @@ mysql_execute_command(THD *thd)
#ifdef WITH_WSREP #ifdef WITH_WSREP
/* Check wsrep_mode rules before command execution. */ /* Check wsrep_mode rules before command execution. */
if (WSREP(thd) && if (WSREP_NNULL(thd) &&
wsrep_thd_is_local(thd) && !wsrep_check_mode_before_cmd_execute(thd)) wsrep_thd_is_local(thd) && !wsrep_check_mode_before_cmd_execute(thd))
goto error; goto error;
......
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