mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
connection node_2;
|
|
connection node_1;
|
|
SET sql_mode='';
|
|
CREATE TABLE t3 (c1 VARCHAR(10));
|
|
ALTER TABLE t3 ENGINE=NonExistentEngine;
|
|
Warnings:
|
|
Warning 1286 Unknown storage engine 'NonExistentEngine'
|
|
SHOW CREATE TABLE t3;
|
|
Table Create Table
|
|
t3 CREATE TABLE `t3` (
|
|
`c1` varchar(10) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
|
INSERT INTO t3 values (1);
|
|
SET sql_mode=default;
|
|
ALTER TABLE t3 engine=innodbCLUSTER;
|
|
ERROR 42000: Unknown storage engine 'innodbCLUSTER'
|
|
SHOW CREATE TABLE t3;
|
|
Table Create Table
|
|
t3 CREATE TABLE `t3` (
|
|
`c1` varchar(10) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
|
DROP TABLE t3;
|
|
SET sql_mode='';
|
|
SET SESSION default_storage_engine=MyISAM;
|
|
SELECT @@default_storage_engine;
|
|
@@default_storage_engine
|
|
MyISAM
|
|
SET GLOBAL wsrep_mode=STRICT_REPLICATION;
|
|
CREATE TABLE t3 (c1 VARCHAR(10)) ENGINE=InnoDB;
|
|
ALTER TABLE t3 ENGINE=NonExistentEngine;
|
|
ERROR HY000: Galera replication not supported
|
|
SHOW CREATE TABLE t3;
|
|
Table Create Table
|
|
t3 CREATE TABLE `t3` (
|
|
`c1` varchar(10) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
|
DROP TABLE t3;
|