summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/maria-autozerofill.result
blob: 22856fe54b0284ae93ca28322d82b4e831b3a805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
call mtr.add_suppression("Table 't1' is marked as crashed and should be repaired");
drop database if exists mysqltest;
create database mysqltest;
use mysqltest;
create table t1(a int) engine=aria;
insert into t1 values(1);
create table t2 (a int) engine=aria;
INSERT INTO t2 VALUES (1),(2);
create table t3 (a int) engine=aria;
INSERT INTO t3 VALUES (1),(2);
create table t4 (a int) engine=aria;
INSERT INTO t4 VALUES (1),(2);
create table t5 (a int) engine=aria;
INSERT INTO t5 VALUES (1),(2);
flush tables;
create_rename_lsn has non-magic value
* shut down mysqld, removed logs, restarted it
select * from t1;
a
1
Warnings:
Note	1194	Zerofilling moved table ./mysqltest/t1
flush table t1;
Status:              changed,sorted index pages,zerofilled
insert into t1 values(2);
flush table t1;
create_rename_lsn has non-magic value
check table t2;
Table	Op	Msg_type	Msg_text
mysqltest.t2	check	error	Table is from another system and must be zerofilled or repaired to be usable on this system
mysqltest.t2	check	error	Corrupt
check table t2;
Table	Op	Msg_type	Msg_text
mysqltest.t2	check	error	Table is from another system and must be zerofilled or repaired to be usable on this system
mysqltest.t2	check	error	Corrupt
repair table t2;
Table	Op	Msg_type	Msg_text
mysqltest.t2	repair	status	OK
check table t2;
Table	Op	Msg_type	Msg_text
mysqltest.t2	check	status	OK
optimize table t3;
Table	Op	Msg_type	Msg_text
mysqltest.t3	optimize	Note	Zerofilling moved table ./mysqltest/t3
mysqltest.t3	optimize	status	OK
analyze table t4;
Table	Op	Msg_type	Msg_text
mysqltest.t4	analyze	Note	Zerofilling moved table ./mysqltest/t4
mysqltest.t4	analyze	status	OK
repair table t5;
Table	Op	Msg_type	Msg_text
mysqltest.t5	repair	status	OK
check table t5;
Table	Op	Msg_type	Msg_text
mysqltest.t5	check	status	OK
repair table t5;
Table	Op	Msg_type	Msg_text
mysqltest.t5	repair	status	OK
check table t5;
Table	Op	Msg_type	Msg_text
mysqltest.t5	check	status	OK
drop database mysqltest;