← Back
Editing: ndb_binlog_size_based_rotate.test
-- source include/have_ndb.inc -- source include/have_binlog_format_mixed_or_row.inc SET @start_value = @@global.max_binlog_size; set global max_binlog_size=8192; SELECT @@global.max_binlog_size; create table test.t1 (a varchar(10000)) engine=ndb; # Repeat in a loop enough to cause buggy code to exceed testcase timeout. # Fix for bug#18845822 will eliminate the timeout. let $1=35; while ($1) { insert into test.t1 values (repeat('B', 10000)); --disable_result_log show binlog events; --enable_result_log dec $1; } drop table test.t1; set global max_binlog_size= @start_value;
Save File
Cancel