1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-4864 - Merge tests for EXCHANGE PARTITION feature

This commit is contained in:
Sergey Vojtovich
2013-09-27 16:58:49 +04:00
parent a695674001
commit 47a240c6bc
99 changed files with 10224 additions and 0 deletions

View File

@@ -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
#