mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![mkaruza](/assets/img/avatar_default.png)
If temporary internal table is in use `hton` will not be set. Skip check if DDL should be replicated in this case. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
16 lines
647 B
Text
16 lines
647 B
Text
connection node_2;
|
|
connection node_1;
|
|
SET GLOBAL wsrep_mode = REQUIRED_PRIMARY_KEY;
|
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
ERROR HY000: Galera replication not supported
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
Error 4165 Galera replication not supported
|
|
Warning 1290 WSREP: wsrep_mode = REQUIRED_PRIMARY_KEY enabled. Table should have PRIMARY KEY defined.
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
DROP TABLE t1;
|
|
SET GLOBAL wsrep_mode = default;
|
|
SET GLOBAL wsrep_mode = STRICT_REPLICATION;
|
|
CREATE VIEW v AS SELECT * FROM JSON_TABLE ('{"a":0}',"$" COLUMNS (a DECIMAL(1,1) path '$.a')) foo;
|
|
DROP VIEW v;
|
|
SET GLOBAL wsrep_mode = default;
|