mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-11152: wsrep_replicate_myisam: SELECT gets replicated
... using TO Fixed the 'wsrep_replicate_myisam' check to allow only limited set of commands. Added a debug assert to discover such cases.
This commit is contained in:
@@ -3350,6 +3350,10 @@ mysql_execute_command(THD *thd)
|
||||
case SQLCOM_SHOW_STORAGE_ENGINES:
|
||||
case SQLCOM_SHOW_PROFILE:
|
||||
{
|
||||
#ifdef WITH_WSREP
|
||||
DBUG_ASSERT(thd->wsrep_exec_mode != REPL_RECV);
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
thd->status_var.last_query_cost= 0.0;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user