Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  start_alter_basic.inc   Sprache: Delphi

 

#
# Run start alter basic tests (CA/RA with given engine)
# Params:-
#  $engine
#  $sync_slave
#  master_node and slave_node connection should be defined

--echo # $engine
--connection master_node
--eval create table t1(a int, b int) engine=$engine;
insert into t1 values(1,1);
insert into t1 values(2,2);
--echo # Normal Alter
alter table t1 add column c int;
show create table t1;
--echo # Failed Alter
insert into t1 values(1,1, NULL);
--error ER_DUP_ENTRY
alter table t1 change a a int unique;
set @@session.binlog_alter_two_phase = 0;
alter table t1 change a a int;
set @@session.binlog_alter_two_phase = 1;
alter table t1 change a a int;
show create table t1;

# The following restriction should be removed post MDEV-26005 fix.
# TODO MDEV-26130 , should be removed after fixing
#if ($engine != 'aria')
#{
#--eval create temporary table tmp_tbl(a int, b int) engine=$engine;
#insert into tmp_tbl values(1,1);
#insert into tmp_tbl values(2,2);
#--echo # Normal Alter
#alter table tmp_tbl add column c int;
#--echo # Failed Alter
#insert into tmp_tbl values(1,1, NULL);
#--error ER_DUP_ENTRY
#alter table tmp_tbl change a a int unique ;
#show create table tmp_tbl;
#}
if ($sync_slave)
{
  --source include/save_master_gtid.inc
  --connection slave_node
  --source include/sync_with_master_gtid.inc
  show create table t1;
}

--connection master_node
drop table t1;
#if ($engine != 'aria')
#{
#drop temporary table tmp_tbl;
#}
if ($sync_slave)
{
  --source include/save_master_gtid.inc
  --connection slave_node
  --source include/sync_with_master_gtid.inc
}

Messung V0.5 in Prozent
C=100 H=70 G=86

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1897691