mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
a8fdaa6f2c
Contains fixes for test cases Changed release tag to beta configure.in: change release tag to beta
93 lines
3.2 KiB
Text
93 lines
3.2 KiB
Text
* shut down mysqld, removed logs, restarted it
|
|
set global storage_engine=maria;
|
|
set session storage_engine=maria;
|
|
set global maria_log_file_size=4294967295;
|
|
drop table if exists t1,t2;
|
|
SET SQL_WARNINGS=1;
|
|
CREATE TABLE t1 (
|
|
STRING_DATA char(255) default NULL
|
|
);
|
|
CREATE TABLE t2 (
|
|
STRING_DATA char(255) default NULL
|
|
);
|
|
INSERT INTO t1 VALUES ('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA');
|
|
INSERT INTO t1 VALUES ('DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD');
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
set global maria_log_file_size=16777216;
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000002 in use
|
|
insert into t2 select * from t1;
|
|
insert into t1 select * from t2;
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000004 in use
|
|
set global maria_log_file_size=16777216;
|
|
select @@global.maria_log_file_size;
|
|
@@global.maria_log_file_size
|
|
16777216
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000004 in use
|
|
set global maria_log_file_size=8388608;
|
|
select @@global.maria_log_file_size;
|
|
@@global.maria_log_file_size
|
|
8388608
|
|
set global maria_log_purge_type=at_flush;
|
|
insert into t1 select * from t2;
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000004 free
|
|
MARIA maria_log.00000005 free
|
|
MARIA maria_log.00000006 free
|
|
MARIA maria_log.00000007 free
|
|
MARIA maria_log.00000008 in use
|
|
flush logs;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000008 in use
|
|
set global maria_log_file_size=16777216;
|
|
set global maria_log_purge_type=external;
|
|
insert into t1 select * from t2;
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000008 free
|
|
MARIA maria_log.00000009 in use
|
|
flush logs;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000008 free
|
|
MARIA maria_log.00000009 in use
|
|
set global maria_log_purge_type=immediate;
|
|
insert into t1 select * from t2;
|
|
set global maria_checkpoint_interval=30;
|
|
SHOW ENGINE maria logs;
|
|
Type Name Status
|
|
MARIA maria_log.00000011 in use
|
|
drop table t1, t2;
|