summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-07-09 13:22:22 +0300
committerEugene Kosov <claprix@yandex.ru>2019-07-09 13:22:22 +0300
commit26c389b7b770a3699ec1fc81df7f379f6084c9e6 (patch)
tree7f915e858b211834deeb52928dfdf5ab12b24bfe /sql/rpl_mi.cc
parentb9557418ccd9f484806515fba030757274e691f2 (diff)
parentfd08f953222b854428dc259631e8fc707fe34619 (diff)
downloadmariadb-git-26c389b7b770a3699ec1fc81df7f379f6084c9e6.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'sql/rpl_mi.cc')
-rw-r--r--sql/rpl_mi.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc
index e8b76880df4..82a462d742b 100644
--- a/sql/rpl_mi.cc
+++ b/sql/rpl_mi.cc
@@ -115,15 +115,6 @@ void Master_info::wait_until_free()
Master_info::~Master_info()
{
wait_until_free();
-#ifdef WITH_WSREP
- /*
- Do not free "wsrep" rpl_filter. It will eventually be freed by
- free_all_rpl_filters() when server terminates.
- */
- if (strncmp(connection_name.str, STRING_WITH_LEN("wsrep")))
-#endif
- rpl_filters.delete_element(connection_name.str, connection_name.length,
- (void (*)(const char*, uchar*)) free_rpl_filter);
my_free(connection_name.str);
delete_dynamic(&ignore_server_ids);
mysql_mutex_destroy(&run_lock);