summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb_zip/r/innochecksum_3.result
blob: da9c3bbc34353320a77a82a2c7393182cefa6977 (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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Set the environmental variables
call mtr.add_suppression("InnoDB: Unable to read tablespace .* page no .* into the buffer pool after 100 attempts");
call mtr.add_suppression("InnoDB: innodb_checksum_algorithm is set to.*");
CREATE TABLE tab1 (pk INTEGER NOT NULL PRIMARY KEY,
linestring_key GEOMETRY NOT NULL,
linestring_nokey GEOMETRY NOT NULL)
ENGINE=InnoDB ;
INSERT INTO tab1 (pk, linestring_key, linestring_nokey)
VALUES (1, ST_GeomFromText('POINT(10 10) '), ST_GeomFromText('POINT(10 10) '));
CREATE INDEX linestring_index ON tab1(linestring_nokey(5));
ALTER TABLE tab1 ADD  KEY (linestring_key(5));
# create a compressed table
CREATE TABLE tab2(col_1 CHAR (255) ,
col_2 VARCHAR (255), col_3 longtext,
col_4 longtext,col_5 longtext,
col_6 longtext , col_7 int )
engine = innodb row_format=compressed key_block_size=4;
CREATE INDEX idx1 ON tab2(col_3(10));
CREATE INDEX idx2 ON tab2(col_4(10));
CREATE INDEX idx3 ON tab2(col_5(10));
SET @col_1 = repeat('a', 5);
SET @col_2 = repeat('b', 20);
SET @col_3 = repeat('c', 100);
SET @col_4 = repeat('d', 100);
SET @col_5 = repeat('e', 100);
SET @col_6 = repeat('f', 100);
INSERT INTO tab2(col_1,col_2,col_3,col_4,col_5,col_6,col_7)
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,5);
INSERT INTO tab2(col_1,col_2,col_3,col_4,col_5,col_6,col_7)
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,4);
INSERT INTO tab2(col_1,col_2,col_3,col_4,col_5,col_6,col_7)
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,3);
INSERT INTO tab2(col_1,col_2,col_3,col_4,col_5,col_6,col_7)
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,2);
INSERT INTO tab2(col_1,col_2,col_3,col_4,col_5,col_6,col_7)
VALUES (@col_1,@col_2,@col_3,@col_4,@cl_5,@col_6,1);
# stop the server
[2]: Check the page type summary with shortform for tab1.ibd

File::tab#.ibd
================PAGE TYPE SUMMARY==============
#PAGE_COUNT	PAGE_TYPE
===============================================
       #	Index page
       #	Undo log page
       #	Inode page
       #	Insert buffer free list page
       #	Freshly allocated page
       #	Insert buffer bitmap
       #	System page
       #	Transaction system page
       #	File Space Header
       #	Extent descriptor page
       #	BLOB page
       #	Compressed BLOB page
       #	Page compressed page
       #	Page compressed encrypted page
       #	Other type of page

===============================================
Additional information:
Undo page type: #
Undo page state: # active, # cached, # to_purge, # prepared, # other
index_id	#pages		#leaf_pages	#recs_per_page	#bytes_per_page
#		#		#		#		#
#		#		#		#		#
#		#		#		#		#

index_id	page_data_bytes_histgram(empty,...,oversized)
#		#	#	#	#	#	#	#	#	#	#	#	#
#		#	#	#	#	#	#	#	#	#	#	#	#
#		#	#	#	#	#	#	#	#	#	#	#	#
[3]: Check the page type summary with longform for tab1.ibd

File::tab#.ibd
================PAGE TYPE SUMMARY==============
#PAGE_COUNT	PAGE_TYPE
===============================================
       #	Index page
       #	Undo log page
       #	Inode page
       #	Insert buffer free list page
       #	Freshly allocated page
       #	Insert buffer bitmap
       #	System page
       #	Transaction system page
       #	File Space Header
       #	Extent descriptor page
       #	BLOB page
       #	Compressed BLOB page
       #	Page compressed page
       #	Page compressed encrypted page
       #	Other type of page

===============================================
Additional information:
Undo page type: #
Undo page state: # active, # cached, # to_purge, # prepared, # other
index_id	#pages		#leaf_pages	#recs_per_page	#bytes_per_page
#		#		#		#		#
#		#		#		#		#
#		#		#		#		#

index_id	page_data_bytes_histgram(empty,...,oversized)
#		#	#	#	#	#	#	#	#	#	#	#	#
#		#	#	#	#	#	#	#	#	#	#	#	#
#		#	#	#	#	#	#	#	#	#	#	#	#
[4]: Page type dump for  with longform for tab1.ibd
# Print the contents stored in dump.txt


Filename::tab#.ibd
==============================================================================
	PAGE_NO		|		PAGE_TYPE			|	EXTRA INFO
==============================================================================
#::#		|		File Space Header		|	-
#::#		|		Insert Buffer Bitmap		|	-
#::#		|		Inode page			|	-
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Freshly allocated page		|	-
#::#		|		Freshly allocated page		|	-
# Variables used by page type dump for ibdata1

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- ----------------------------------------
verbose                           TRUE
count                             FALSE
start-page                        0
end-page                          0
page                              0
no-check                          FALSE
allow-mismatches                  0
page-type-summary                 FALSE
page-type-dump                    MYSQLTEST_VARDIR/tmp/dump.txt
per-page-details                  FALSE
log                               (No default value)
leaf                              FALSE
merge                             0
[5]: Page type dump for with shortform for tab1.ibd


Filename::tab#.ibd
==============================================================================
	PAGE_NO		|		PAGE_TYPE			|	EXTRA INFO
==============================================================================
#::#		|		File Space Header		|	-
#::#		|		Insert Buffer Bitmap		|	-
#::#		|		Inode page			|	-
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Index page			|	index id=#, page level=#, No. of records=#, garbage=#, -
#::#		|		Freshly allocated page		|	-
#::#		|		Freshly allocated page		|	-
[6]: check the valid lower bound values for option
# allow-mismatches,page,start-page,end-page
[9]: check the both short and long options "page" and "start-page" when
# seek value is larger than file size.
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
FOUND 1 /Error: Unable to seek to necessary offset: Invalid argument/ in my_restart.err
[34]: check the invalid upper bound values for options, allow-mismatches, end-page, start-page and page.
# innochecksum will fail with error code: 1
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
NOT FOUND /Incorrect unsigned integer value: '18446744073709551616'/ in my_restart.err
# restart
DROP TABLE tab1,tab2;