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
10
show status like "binlog_cache_use";
11
show status like "binlog_cache_disk_use";
13
drop table if exists t1;
16
create table t1 (a int) engine=innodb;
18
# Now we are going to create transaction which is long enough so its
19
# transaction binlog will be flushed to disk...
25
eval insert into t1 values( $1 );
30
show status like "binlog_cache_use";
31
show status like "binlog_cache_disk_use";
33
# Transaction which should not be flushed to disk and so should not
34
# increase binlog_cache_disk_use.
38
show status like "binlog_cache_use";
39
show status like "binlog_cache_disk_use";
42
# Test for testable InnoDB status variables. This test
43
# uses previous ones(pages_created, rows_deleted, ...).
44
show status like "Innodb_buffer_pool_pages_total";
45
show status like "Innodb_page_size";
46
show status like "Innodb_rows_deleted";
47
show status like "Innodb_rows_inserted";
48
show status like "Innodb_rows_updated";