summaryrefslogtreecommitdiff
path: root/mysql-test/extra/binlog_tests/binlog.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/extra/binlog_tests/binlog.test')
-rw-r--r--mysql-test/extra/binlog_tests/binlog.test11
1 files changed, 8 insertions, 3 deletions
diff --git a/mysql-test/extra/binlog_tests/binlog.test b/mysql-test/extra/binlog_tests/binlog.test
index c0a8c3f6120..3bbc693ceda 100644
--- a/mysql-test/extra/binlog_tests/binlog.test
+++ b/mysql-test/extra/binlog_tests/binlog.test
@@ -83,17 +83,22 @@ set @bcs = @@binlog_cache_size;
set global binlog_cache_size=4096;
reset master;
-create table t1 (a int) engine=innodb;
+create table t1 (a int, b char(255)) engine=innodb;
+
+flush status;
+show status like "binlog_cache_use";
-let $1=400;
+let $1=100;
disable_query_log;
begin;
while ($1)
{
- eval insert into t1 values( $1 );
+ eval insert into t1 values( $1, 'just to fill void to make transaction occupying at least two buffers of the trans cache' );
dec $1;
}
commit;
+--echo *** the following must show the counter value = 1 ***
+show status like "binlog_cache_use";
enable_query_log;
--source include/show_binlog_events.inc