summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqldump.test
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-07-20 04:15:50 +0500
committergshchepa/uchum@gleb.loc <>2007-07-20 04:15:50 +0500
commitc06d233d4db39f1cb2eec342a5f9d90cc6825278 (patch)
treef1e3a541cafffe537e5763277e0ac5d9a0f65dc4 /mysql-test/t/mysqldump.test
parentb066c1208e38c0ab1e8179ef87f3f56072083f50 (diff)
parent7a2491871d61a2a64bc496eecbcbcbc56fe5471c (diff)
downloadmariadb-git-c06d233d4db39f1cb2eec342a5f9d90cc6825278.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.0
into gleb.loc:/home/uchum/work/bk/5.0-opt
Diffstat (limited to 'mysql-test/t/mysqldump.test')
-rw-r--r--mysql-test/t/mysqldump.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test
index 30c241d4096..d42162541de 100644
--- a/mysql-test/t/mysqldump.test
+++ b/mysql-test/t/mysqldump.test
@@ -1542,5 +1542,18 @@ INSERT INTO t1 SET c1=11, c2=REPEAT('q',509);
DROP TABLE t1;
--echo #
+--echo # Bug #28524: mysqldump --skip-add-drop-table is not
+--echo # compatible with views
+--echo #
+
+CREATE VIEW v1 AS SELECT 1;
+--exec $MYSQL_DUMP --skip-add-drop-table test > $MYSQLTEST_VARDIR/tmp/bug28524.sql
+DROP VIEW v1;
+
+--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/bug28524.sql
+SELECT * FROM v1;
+DROP VIEW v1;
+
+--echo #
--echo # End of 5.0 tests
--echo #