summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera/t/mdev-30013.test
blob: 038b66600ce55bae7d6086be16d33660db905127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--source include/galera_cluster.inc

if (!$HA_ARCHIVE_SO) {
  skip Needs Archive loadable plugin;
}

INSTALL PLUGIN ARCHIVE SONAME 'ha_archive.so';
CREATE TABLE t (a CHAR(1)) ENGINE=ARCHIVE;
SHOW CREATE TABLE t;
INSERT INTO t VALUES ('A');
UNINSTALL SONAME 'ha_archive';
ALTER TABLE t CHANGE COLUMN a a CHAR(2);
--error ER_UNKNOWN_STORAGE_ENGINE
INSERT INTO t (a) VALUES ('AB');
DROP TABLE t;