Skip to content

Commit e46c8bb

Browse files
committed
Merge branch 'mdev7818-4' into bb-10.1-knielsen
Conflicts: sql/sql_parse.cc
2 parents 8f2e05f + d5d87c9 commit e46c8bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sql/sql_parse.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4811,6 +4811,7 @@ mysql_execute_command(THD *thd)
48114811
}
48124812
#endif /* WITH_WSREP*/
48134813

4814+
#ifdef HAVE_REPLICATION
48144815
if (lex->type & REFRESH_READ_LOCK)
48154816
{
48164817
/*
@@ -4822,6 +4823,7 @@ mysql_execute_command(THD *thd)
48224823
if (rpl_pause_for_ftwrl(thd))
48234824
goto error;
48244825
}
4826+
#endif
48254827
/*
48264828
reload_acl_and_cache() will tell us if we are allowed to write to the
48274829
binlog or not.
@@ -4852,8 +4854,10 @@ mysql_execute_command(THD *thd)
48524854
if (!res)
48534855
my_ok(thd);
48544856
}
4857+
#ifdef HAVE_REPLICATION
48554858
if (lex->type & REFRESH_READ_LOCK)
48564859
rpl_unpause_after_ftwrl(thd);
4860+
#endif
48574861

48584862
break;
48594863
}

0 commit comments

Comments
 (0)