Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Gnome/tests/     Datei vom 30.5.2026 mit Größe 19 kB image not shown  

Quelle  test_fieldsize.inc  Sprache: Delphi


#
# include/test_fieldsize.inc 
# 
# This include file is designed to create a table with one column
# whose size on the master is greater than that on the slave. The
# test should fail with an error on the slave.
#

connection master;
DROP TABLE IF EXISTS t1;

sync_slave_with_master;
STOP SLAVE;
--let $master_use_gtid_option= No
--source include/reset_slave.inc
eval $test_table_slave;

connection master;
eval $test_table_master;
--source include/kill_binlog_dump_threads.inc
RESET MASTER;

eval $test_insert;

connection slave;
START SLAVE;
--let $slave_sql_errno= 1677
--let $show_slave_sql_error= 1
--source include/wait_for_slave_sql_error.inc

# The following should be 0
SELECT COUNT(*) FROM t1;
STOP SLAVE;
--source include/reset_slave.inc

connection master;
--source include/kill_binlog_dump_threads.inc
RESET MASTER;

connection slave;
START SLAVE;


Messung
CHZG
869410093

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*Bot Zugriff