summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/replicate_do_table_basic.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-12-07 14:42:08 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-12-07 14:42:08 +0400
commit1d702ff07c53770f45086c514f34bf6ec4e8b299 (patch)
tree6f5ca2b53c5504974bf443797f44bc6995d128c8 /mysql-test/suite/sys_vars/t/replicate_do_table_basic.test
parentd67ef7a2fb3b52b3f61ce71dfe23cf4d610afc3c (diff)
downloadmariadb-git-1d702ff07c53770f45086c514f34bf6ec4e8b299.tar.gz
MDEV-8329 MariaDB crashes when replicate_wild_ignore_table is set to NULL.
Rpl_filter::parse_filter_rule() made NULL-safe.
Diffstat (limited to 'mysql-test/suite/sys_vars/t/replicate_do_table_basic.test')
-rw-r--r--mysql-test/suite/sys_vars/t/replicate_do_table_basic.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/sys_vars/t/replicate_do_table_basic.test b/mysql-test/suite/sys_vars/t/replicate_do_table_basic.test
index f3b1585613e..346bdf3b038 100644
--- a/mysql-test/suite/sys_vars/t/replicate_do_table_basic.test
+++ b/mysql-test/suite/sys_vars/t/replicate_do_table_basic.test
@@ -44,5 +44,8 @@ SELECT @@GLOBAL.replicate_do_table;
SET @@GLOBAL.replicate_do_table="";
SELECT @@GLOBAL.replicate_do_table;
+SET @@GLOBAL.replicate_do_table=null;
+SELECT @@GLOBAL.replicate_do_table;
+
--echo # Cleanup.
SET @@GLOBAL.replicate_do_table = @save_replicate_do_table;