Fix embedded server build after MDEV-7818 patch
This commit is contained in:
parent
ba02550166
commit
d5d87c98c0
@ -4284,6 +4284,7 @@ end_with_restore_list:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_REPLICATION
|
||||||
if (lex->type & REFRESH_READ_LOCK)
|
if (lex->type & REFRESH_READ_LOCK)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -4295,6 +4296,7 @@ end_with_restore_list:
|
|||||||
if (rpl_pause_for_ftwrl(thd))
|
if (rpl_pause_for_ftwrl(thd))
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
reload_acl_and_cache() will tell us if we are allowed to write to the
|
reload_acl_and_cache() will tell us if we are allowed to write to the
|
||||||
binlog or not.
|
binlog or not.
|
||||||
@ -4325,8 +4327,10 @@ end_with_restore_list:
|
|||||||
if (!res)
|
if (!res)
|
||||||
my_ok(thd);
|
my_ok(thd);
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_REPLICATION
|
||||||
if (lex->type & REFRESH_READ_LOCK)
|
if (lex->type & REFRESH_READ_LOCK)
|
||||||
rpl_unpause_after_ftwrl(thd);
|
rpl_unpause_after_ftwrl(thd);
|
||||||
|
#endif
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user