1DROP TABLE IF EXISTS t1;
2'--- check if log file is rotated after 4096 bytes ----'
3SET @saved_max_binlog_size= @@global.max_binlog_size;
4SET @@global.max_binlog_size = 4096;
5CREATE TABLE t1(a CHAR(5));
6SELECT COUNT(*) FROM t1;
7COUNT(*)
850
9'mylog.000002 exists'
10SET @@global.max_binlog_size= @saved_max_binlog_size;
11DROP TABLE t1;
12