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:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user