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

Quelle  rpl_stop_slave_error.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: Masm {Masm[90] VDM[48] Lisp[45]} [Methode: maximale Elemente, drei Dimensionen]

#
# MDEV-8345 STOP SLAVE should not cause an ERROR to be logged to the error log
#
source include/have_binlog_format_mixed.inc; # don't repeat the test three times
source include/master-slave.inc;

connection master;
sync_slave_with_master;

--let $iter=100
--echo # MDEV-32892: Repeatedly starting/stopping io_thread..
--disable_query_log
while ($iter)
{
  stop slave io_thread;
  start slave io_thread;
  --dec $iter
}
--enable_query_log
source include/stop_slave.inc;

let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/slave_log.err;
let SEARCH_PATTERN=Error reading packet from server: Lost connection;
source include/search_pattern_in_file.inc;

let SEARCH_PATTERN=error code: 2013;
source include/search_pattern_in_file.inc;

source include/start_slave.inc;
source include/rpl_end.inc;


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