1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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

This commit is contained in:
Monty
2021-04-12 19:42:55 +03:00
committed by Sergei Golubchik
parent 85f3ed5f8b
commit b332ffc1af

View File

@ -3814,7 +3814,7 @@ mysql_execute_command(THD *thd)
#ifdef WITH_WSREP
/* 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))
goto error;