mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables"
- Add `replicate_rewrite_db` status variable, that may accept comma
separated key-value pairs.
- Note that option `OPT_REPLICATE_REWRITE_DB` already existed in `mysqld.h`
from this commit 23d8586dbf
Reviewer:Brandon Nesterenko <brandon.nesterenko@mariadb.com>
This commit is contained in:
committed by
Brandon Nesterenko
parent
ccf0e27f28
commit
1a057a923b
@@ -1024,10 +1024,12 @@ void copy_filter_setting(Rpl_filter* dst_filter, Rpl_filter* src_filter)
|
||||
dst_filter->set_wild_ignore_table(tmp.ptr());
|
||||
}
|
||||
|
||||
if (dst_filter->rewrite_db_is_empty())
|
||||
dst_filter->get_rewrite_db(&tmp);
|
||||
if (tmp.is_empty())
|
||||
{
|
||||
if (!src_filter->rewrite_db_is_empty())
|
||||
dst_filter->copy_rewrite_db(src_filter);
|
||||
src_filter->get_rewrite_db(&tmp);
|
||||
if (!tmp.is_empty())
|
||||
dst_filter->set_rewrite_db(tmp.ptr());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user