Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lindström committed Jul 19, 2018
1 parent c09d549 commit f99fe68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sql/sql_trigger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ bool mysql_create_or_drop_trigger(THD *thd, TABLE_LIST *tables, bool create)
if (err_status)
goto end;
}
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL);

if (thd->wsrep_exec_mode == LOCAL_STATE)
WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL);

/* We should have only one table in table list. */
DBUG_ASSERT(tables->next_global == 0);
Expand Down

0 comments on commit f99fe68

Please sign in to comment.