mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34705: Binlog-in-engine: Implement FLUSH BINARY LOGS
No DELETE_DOMAIN_ID supported yet, will come in a later commit, after PURGE is implemented. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@@ -174,7 +174,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
DYNAMIC_ARRAY *drop_gtid_domain=
|
||||
(thd && (thd->lex->delete_gtid_domain.elements > 0)) ?
|
||||
&thd->lex->delete_gtid_domain : NULL;
|
||||
if (mysql_bin_log.rotate_and_purge(true, drop_gtid_domain))
|
||||
if (mysql_bin_log.flush_binlog(drop_gtid_domain))
|
||||
*write_to_binlog= -1;
|
||||
|
||||
/* Note that WSREP(thd) might not be true here e.g. during
|
||||
|
Reference in New Issue
Block a user