1
# Embedded server doesn't support binlog
2
-- source include/not_embedded.inc
3
-- source include/have_innodb.inc
6
# Let us test binlog_cache_use and binlog_cache_disk_use status vars.
7
# Actually this test has nothing to do with innodb per se, it just requires
11
show status like "binlog_cache_use";
12
show status like "binlog_cache_disk_use";
14
drop table if exists t1;
17
create table t1 (a int) engine=innodb;
19
# Now we are going to create transaction which is long enough so its
20
# transaction binlog will be flushed to disk...
26
eval insert into t1 values( $1 );
31
show status like "binlog_cache_use";
32
show status like "binlog_cache_disk_use";
34
# Transaction which should not be flushed to disk and so should not
35
# increase binlog_cache_disk_use.
39
show status like "binlog_cache_use";
40
show status like "binlog_cache_disk_use";