Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  rpl_start_alter_instant.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[124] Masm[48] MT940[34]} [Methode: maximale Elemente, drei Dimensionen]

# MDEV-11675
# Prove that "fast" ALTER options also combine with @@binlog_alter_two_phase.
--source include/have_innodb.inc
--source include/master-slave.inc

--connection master
set binlog_alter_two_phase=true;
CREATE OR REPLACE TABLE tab (
   a int PRIMARY KEY,
   b varchar(50),
   c varchar(50)
) CHARACTER SET=latin1 engine=innodb;


ALTER TABLE tab MODIFY COLUMN b varchar(100), algorithm=instant;
ALTER TABLE tab MODIFY COLUMN c varchar(100), algorithm=nocopy;
SHOW CREATE TABLE tab;
--source include/show_binlog_events.inc

--sync_slave_with_master
SHOW CREATE TABLE tab;
--source include/show_binlog_events.inc

--connection master
DROP TABLE tab;

--sync_slave_with_master

--source include/rpl_end.inc

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

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691