mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
30 lines
739 B
Plaintext
30 lines
739 B
Plaintext
connection node_2;
|
|
connection node_1;
|
|
#
|
|
# MDEV-9312: storage engine not enforced during galera cluster
|
|
# replication
|
|
#
|
|
connection node_1;
|
|
CREATE TABLE t1(i INT) ENGINE=INNODB;
|
|
CREATE TABLE t2(i INT) ENGINE=MYISAM;
|
|
Warnings:
|
|
Note 1266 Using storage engine InnoDB for table 't2'
|
|
Note 1266 Using storage engine InnoDB for table 't2'
|
|
connection node_2;
|
|
SHOW TABLES;
|
|
Tables_in_test
|
|
t1
|
|
t2
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`i` int(11) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
|
SHOW CREATE TABLE t2;
|
|
Table Create Table
|
|
t2 CREATE TABLE `t2` (
|
|
`i` int(11) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
|
DROP TABLE t1, t2;
|
|
# End of tests
|