summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqldump.test
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-03-12 11:39:40 -0400
committerChad MILLER <chad@mysql.com>2009-03-12 11:39:40 -0400
commit8744675fafa7dc986848a8d4ad97eababff3eaa0 (patch)
tree8ef8ad86a82c3f0b43146d139f2afdf48c1c9b77 /mysql-test/t/mysqldump.test
parentb63c7b2bb0748246d80d7514be215d2f0f656800 (diff)
parent6b72857803d50d1090e6fa514b0ddee81234fab7 (diff)
downloadmariadb-git-8744675fafa7dc986848a8d4ad97eababff3eaa0.tar.gz
Merge fix for bug 42635, which is no change for 5.1 except addition of
test and (slightly different than 5.0) results.
Diffstat (limited to 'mysql-test/t/mysqldump.test')
-rw-r--r--mysql-test/t/mysqldump.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test
index 224152d20d0..51becb01fff 100644
--- a/mysql-test/t/mysqldump.test
+++ b/mysql-test/t/mysqldump.test
@@ -1647,6 +1647,22 @@ DROP TABLE t1,t2;
--replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// / on [0-9 :-]+/ on DATE/
--exec $MYSQL_DUMP test
+# We reset concurrent_inserts value to whatever it was at the start of the test
+SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
+
+--echo #
+--echo # Bug #42635: mysqldump includes views that were excluded using
+--echo # the --ignore-table option
+--echo #
+
+create database db42635;
+use db42635;
+create table t1 (id int);
+create view db42635.v1 (c) as select * from db42635.t1;
+create view db42635.v2 (c) as select * from db42635.t1;
+--exec $MYSQL_DUMP --skip-comments --ignore-table=db42635.v1 db42635
+use test;
+drop database db42635;
--echo #
--echo # Bug#33550 mysqldump 4.0 compatibility broken