Skip to content

Commit

Permalink
Merge branch 'mdev7818-4' into bb-10.1-knielsen
Browse files Browse the repository at this point in the history
Conflicts:
	sql/sql_parse.cc
  • Loading branch information
knielsen committed Nov 13, 2015
2 parents 8f2e05f + d5d87c9 commit e46c8bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sql/sql_parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4811,6 +4811,7 @@ mysql_execute_command(THD *thd)
}
#endif /* WITH_WSREP*/

#ifdef HAVE_REPLICATION
if (lex->type & REFRESH_READ_LOCK)
{
/*
Expand All @@ -4822,6 +4823,7 @@ mysql_execute_command(THD *thd)
if (rpl_pause_for_ftwrl(thd))
goto error;
}
#endif
/*
reload_acl_and_cache() will tell us if we are allowed to write to the
binlog or not.
Expand Down Expand Up @@ -4852,8 +4854,10 @@ mysql_execute_command(THD *thd)
if (!res)
my_ok(thd);
}
#ifdef HAVE_REPLICATION
if (lex->type & REFRESH_READ_LOCK)
rpl_unpause_after_ftwrl(thd);
#endif

break;
}
Expand Down

0 comments on commit e46c8bb

Please sign in to comment.