summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_error.result
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2013-09-27 16:58:49 +0400
committerSergey Vojtovich <svoj@mariadb.org>2013-09-27 16:58:49 +0400
commit47a240c6bc994ddc26ff139050b16649137cb3ce (patch)
treee59a8bf3425542dd1604a5be4487b248af47b747 /mysql-test/r/partition_error.result
parenta695674001c933ff6bf0fdbdf3b05436c50bd5bc (diff)
downloadmariadb-git-47a240c6bc994ddc26ff139050b16649137cb3ce.tar.gz
MDEV-4864 - Merge tests for EXCHANGE PARTITION feature
Diffstat (limited to 'mysql-test/r/partition_error.result')
-rw-r--r--mysql-test/r/partition_error.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/partition_error.result b/mysql-test/r/partition_error.result
index 851c97c5ec3..fb327e937f4 100644
--- a/mysql-test/r/partition_error.result
+++ b/mysql-test/r/partition_error.result
@@ -1,5 +1,15 @@
drop table if exists t1, t2;
#
+# Bug#60039: crash when exchanging a partition on
+# nonpartitioned table with a view
+#
+CREATE TABLE t1 (a int);
+CREATE OR REPLACE VIEW v1 AS SELECT * FROM t1;
+ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE v1;
+ERROR 42000: Can't open table
+DROP VIEW v1;
+DROP TABLE t1;
+#
# Bug#13608188 - 64038: CRASH IN HANDLER::HA_THD ON ALTER TABLE AFTER
# REPAIR NON-EXISTING PARTITION
#