File: repair_table.rdiff

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (158 lines) | stat: -rw-r--r-- 5,401 bytes parent folder | download | duplicates (12)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
--- suite/storage_engine/parts/repair_table.result	2013-07-18 22:55:38.000000000 +0400
+++ suite/storage_engine/parts/repair_table.reject	2013-08-05 19:54:09.000000000 +0400
@@ -25,7 +25,7 @@
 INSERT INTO t1 (a,b) VALUES (10,'j');
 ALTER TABLE t1 REPAIR PARTITION p1 QUICK USE_FRM;
 Table	Op	Msg_type	Msg_text
-test.t1	repair	status	OK
+test.t1	repair	note	The storage engine for the table doesn't support repair
 INSERT INTO t2 (a,b) VALUES (12,'l');
 ALTER TABLE t2 REPAIR PARTITION NO_WRITE_TO_BINLOG ALL QUICK EXTENDED USE_FRM;
 Table	Op	Msg_type	Msg_text
@@ -58,8 +58,8 @@
 INSERT INTO t2 (a,b) VALUES (11,'k');
 REPAIR TABLE t1, t2 QUICK USE_FRM;
 Table	Op	Msg_type	Msg_text
-test.t1	repair	status	OK
-test.t2	repair	status	OK
+test.t1	repair	note	The storage engine for the table doesn't support repair
+test.t2	repair	note	The storage engine for the table doesn't support repair
 INSERT INTO t1 (a,b) VALUES (12,'l');
 INSERT INTO t2 (a,b) VALUES (13,'m');
 REPAIR NO_WRITE_TO_BINLOG TABLE t1, t2 QUICK EXTENDED USE_FRM;
@@ -101,119 +101,13 @@
 INSERT INTO t1 (a,b) VALUES (10,'j');
 REPAIR TABLE t1 USE_FRM;
 Table	Op	Msg_type	Msg_text
-test.t1	repair	status	OK
-t1#P#p0.MYD
-t1#P#p0.MYI
-t1#P#p1.MYD
-t1#P#p1.MYI
+test.t1	repair	note	The storage engine for the table doesn't support repair
 t1.frm
 t1.par
 INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
 # Statement ended with one of expected results (0,144). 
 # If you got a difference in error message, just add it to rdiff file
 FLUSH TABLE t1;
-Restoring <DATADIR>/test/t1#P#p0.MYD
-CHECK TABLE t1;
-Table	Op	Msg_type	Msg_text
-test.t1	check	error	Size of datafile is: 26         Should be: 39
-test.t1	check	error	Partition p0 returned error
-test.t1	check	error	Corrupt
-SELECT a,b FROM t1;
-a	b
-8	h
-10	j
-7	g
-15	o
-Warnings:
-Error	145	Table './test/t1#P#p0' is marked as crashed and should be repaired
-Error	1194	Table 't1' is marked as crashed and should be repaired
-Error	1034	Number of rows changed from 3 to 2
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144). 
-# If you got a difference in error message, just add it to rdiff file
-INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
-# Statement ended with one of expected results (0,144). 
-# If you got a difference in error message, just add it to rdiff file
-FLUSH TABLE t1;
-Restoring <DATADIR>/test/t1#P#p0.MYI
-CHECK TABLE t1;
-Table	Op	Msg_type	Msg_text
-test.t1	check	warning	Size of datafile is: 39       Should be: 26
-test.t1	check	error	Record-count is not ok; is 3   Should be: 2
-test.t1	check	warning	Found 3 key parts. Should be: 2
-test.t1	check	error	Partition p0 returned error
-test.t1	check	error	Corrupt
-SELECT a,b FROM t1;
-a	b
-8	h
-10	j
-14	n
-7	g
-15	o
-15	o
-Warnings:
-Error	145	Table './test/t1#P#p0' is marked as crashed and should be repaired
-Error	1194	Table 't1' is marked as crashed and should be repaired
-Error	1034	Number of rows changed from 2 to 3
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144). 
-# If you got a difference in error message, just add it to rdiff file
-INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
-# Statement ended with one of expected results (0,144). 
-# If you got a difference in error message, just add it to rdiff file
-FLUSH TABLE t1;
-Restoring <DATADIR>/test/t1#P#p1.MYD
-CHECK TABLE t1;
-Table	Op	Msg_type	Msg_text
-test.t1	check	error	Size of datafile is: 39         Should be: 52
-test.t1	check	error	Partition p1 returned error
-test.t1	check	error	Corrupt
-SELECT a,b FROM t1;
-a	b
-8	h
-10	j
-14	n
-14	n
-7	g
-15	o
-15	o
-Warnings:
-Error	145	Table './test/t1#P#p1' is marked as crashed and should be repaired
-Error	1194	Table 't1' is marked as crashed and should be repaired
-Error	1034	Number of rows changed from 4 to 3
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144). 
-# If you got a difference in error message, just add it to rdiff file
-INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
-# Statement ended with one of expected results (0,144). 
-# If you got a difference in error message, just add it to rdiff file
-FLUSH TABLE t1;
-Restoring <DATADIR>/test/t1#P#p1.MYI
-CHECK TABLE t1;
-Table	Op	Msg_type	Msg_text
-test.t1	check	warning	Size of datafile is: 52       Should be: 39
-test.t1	check	error	Record-count is not ok; is 4   Should be: 3
-test.t1	check	warning	Found 4 key parts. Should be: 3
-test.t1	check	error	Partition p1 returned error
-test.t1	check	error	Corrupt
-SELECT a,b FROM t1;
-a	b
-8	h
-10	j
-14	n
-14	n
-14	n
-7	g
-15	o
-15	o
-15	o
-Warnings:
-Error	145	Table './test/t1#P#p1' is marked as crashed and should be repaired
-Error	1194	Table 't1' is marked as crashed and should be repaired
-Error	1034	Number of rows changed from 3 to 4
-# Statement ended with one of expected results (0,ER_NOT_KEYFILE,144). 
-# If you got a difference in error message, just add it to rdiff file
-INSERT INTO t1 (a,b) VALUES (14,'n'),(15,'o');
-# Statement ended with one of expected results (0,144). 
-# If you got a difference in error message, just add it to rdiff file
-FLUSH TABLE t1;
 Restoring <DATADIR>/test/t1.par
 CHECK TABLE t1;
 Table	Op	Msg_type	Msg_text
@@ -223,14 +117,8 @@
 8	h
 10	j
 14	n
-14	n
-14	n
-14	n
 7	g
 15	o
-15	o
-15	o
-15	o
 # Statement ended with one of expected results (0,ER_NOT_KEYFILE,144). 
 # If you got a difference in error message, just add it to rdiff file
 DROP TABLE t1;