mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
ffd5d74c4f
This must be some kind of merge error because at ha_check_engine we just find out used engine or default engine. There is no need to roll-back transaction here even if engine is not supported as it will be handled later. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
17 lines
549 B
Text
17 lines
549 B
Text
connection node_2;
|
|
connection node_1;
|
|
INSTALL PLUGIN ARCHIVE SONAME 'ha_archive.so';
|
|
CREATE TABLE t (a CHAR(1)) ENGINE=ARCHIVE;
|
|
SHOW CREATE TABLE t;
|
|
Table Create Table
|
|
t CREATE TABLE `t` (
|
|
`a` char(1) DEFAULT NULL
|
|
) ENGINE=ARCHIVE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
|
INSERT INTO t VALUES ('A');
|
|
UNINSTALL SONAME 'ha_archive';
|
|
Warnings:
|
|
Warning 1620 Plugin is busy and will be uninstalled on shutdown
|
|
ALTER TABLE t CHANGE COLUMN a a CHAR(2);
|
|
INSERT INTO t (a) VALUES ('AB');
|
|
ERROR 42000: Unknown storage engine 'ARCHIVE'
|
|
DROP TABLE t;
|