mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fixed assert in WSREP if one started with --wsrep_provider=..
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user