1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fix test failure on rpl_statements test by not listing wsrep variable.

This commit is contained in:
Jan Lindström
2014-09-09 13:35:39 +03:00
parent bf30585eaf
commit 6748976d14
2 changed files with 5 additions and 6 deletions

View File

@ -3275,10 +3275,11 @@ mysql_execute_command(THD *thd)
/* in STATEMENT format, we probably have to replicate also temporary
tables, like mysql replication does
*/
if (WSREP_ON && (!thd->is_current_stmt_binlog_format_row() ||
!(create_info.options & HA_LEX_CREATE_TMP_TABLE)))
WSREP_TO_ISOLATION_BEGIN(create_table->db, create_table->table_name,
NULL)
if (WSREP(thd) && (!thd->is_current_stmt_binlog_format_row() ||
!(create_info.options & HA_LEX_CREATE_TMP_TABLE)))
{
WSREP_TO_ISOLATION_BEGIN(create_table->db, create_table->table_name, NULL)
}
#endif /* WITH_WSREP */
/* Regular CREATE TABLE */
res= mysql_create_table(thd, create_table,