Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  tmp_space_usage.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[92] ABAP[84] Lisp[47]} [Methode: maximale Elemente, drei Dimensionen]

--source include/have_innodb.inc
--source include/have_binlog_format_row.inc
--source include/master-slave.inc
--source include/have_sequence.inc

call mtr.add_suppression("Global temporary space limit reached.*");
call mtr.add_suppression("Writing one row to the row-based binary log failed.*");

--connection slave
STOP SLAVE;
SET GLOBAL slave_parallel_threads=2, max_tmp_total_space_usage=64*1024;
START SLAVE;

--connection master
CREATE TABLE t1 (
 a bigint primary key auto_increment,
 v blob
) engine=innodb;

start transaction;
insert into t1 (v) select repeat("a", seq) from seq_1000_to_1032;
insert into t1 (v) select repeat("b", seq) from seq_1000_to_1032;
insert into t1 (v) select repeat("c", seq) from seq_1000_to_1032;
commit;
drop table t1;

# The slave SQL thread should die because of Global temporary space limit
--connection slave
let $show_slave_sql_error=0;
let $slave_sql_errno=42;
let $slave_skip_counter=2;
--source include/wait_for_slave_sql_error_and_skip.inc

# cleanup
--connection slave
STOP SLAVE;
SET GLOBAL max_tmp_total_space_usage=default;
set GLOBAL slave_parallel_threads=default;

[Dauer der Verarbeitung: 0.13 Sekunden]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1897691