summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-08 20:07:38 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-09 11:29:06 +0100
commit5d478f5339b6ab1b9d22476abd603f44e236d433 (patch)
tree0a71c35173cd7a170f8cfff6d66e470168947eca /mysql-test/t
parent6703e5b6dafc93bd3b7a0964162e9f8f04473c83 (diff)
downloadmariadb-git-5d478f5339b6ab1b9d22476abd603f44e236d433.tar.gz
Bug#19817021
test case for ALTER TABLE view CHECK PARTITION
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/view.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/view.test b/mysql-test/t/view.test
index 815be87b04e..a25a4d129aa 100644
--- a/mysql-test/t/view.test
+++ b/mysql-test/t/view.test
@@ -5480,6 +5480,16 @@ deallocate prepare stmt;
drop view v1,v2;
drop table `t1`;
+
+#
+# Bug#19817021
+#
+create table t1 (a int, b int);
+create view v1 as select a+b from t1;
+alter table v1 check partition p1;
+drop view v1;
+drop table t1;
+
--echo # -----------------------------------------------------------------
--echo # -- End of 5.5 tests.
--echo # -----------------------------------------------------------------