Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/galera/t/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 495 B image not shown  

Quelle  galera_toi_ftwrl.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[138] Masm[56] VDM[46]} [Methode: maximale Elemente, drei Dimensionen]

--source include/galera_cluster.inc
--source include/have_innodb.inc

#
# At this time, issing a FLUSH TABLES WITH READ LOCK on one node does not prevent DDLs from other nodes
# from proceeding. The locked node will apply the DDL after it has been unlocked
#

CREATE TABLE t1 (id INT PRIMARY KEY) ENGINE=InnoDB;

--connection node_2
FLUSH TABLES WITH READ LOCK;

--connection node_1
ALTER TABLE t1 ADD COLUMN f2 INTEGER;

--connection node_2
UNLOCK TABLES;
SHOW CREATE TABLE t1;

DROP TABLE t1;

[Dauer der Verarbeitung: 0.11 Sekunden, vorverarbeitet 2026-10-11]