Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  galera_gtid_server_id.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[124] VDM[62] ABAP[54]} [Methode: maximale Elemente, drei Dimensionen]

--source include/galera_cluster.inc
# This test asserts exact GTID positions (e.g. 1-11-2). Those only hold from a
# fresh cluster, so the cluster GTID state must start clean on every run (e.g.
# with --repeat). Force a server restart before the test.
--source include/force_restart.inc

--connection node_1
select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;
--connection node_2
call mtr.add_suppression("WSREP: Ignoring server id .* for non bootstrap node");
select @@gtid_domain_id, @@server_id, @@wsrep_gtid_domain_id,@@wsrep_gtid_mode;

--connection node_1
CREATE TABLE t1(id int not null primary key) engine=innodb;
INSERT INTO t1 values (1);
show global variables  like '%gtid%';
--connection node_2
SET SESSION wsrep_sync_wait=15;
show global variables  like '%gtid%';
# This should give error
--error ER_WRONG_VALUE_FOR_VAR
SET GLOBAL server_id=200;
SHOW WARNINGS;
# This should give error
--error ER_WRONG_VALUE_FOR_VAR
SET SESSION server_id=200;
SHOW WARNINGS;
INSERT INTO t1 values(2);
show global variables  like '%gtid%';
--connection node_1
show global variables  like '%gtid%';
DROP TABLE t1;

[Dauer der Verarbeitung: 0.7 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691