1
0
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:
Nirbhay Choubey
2016-12-19 16:11:27 -05:00
parent d51e7f90bf
commit b800264e49
4 changed files with 40 additions and 8 deletions

View File

@@ -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;
/*