Comment 6 for bug 707742

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

The fix is the part.

237 === modified file 'innodb_expand_import.patch'
238 --- innodb_expand_import.patch 2010-12-16 11:35:26 +0000
239 +++ innodb_expand_import.patch 2011-02-01 02:13:15 +0000
240 @@ -34,8 +34,8 @@
241 space_id = fsp_header_get_space_id(page);
242 space_flags = fsp_header_get_flags(page);
243
244 -+ if (srv_expand_import
245 -+ && (space_id != id || space_flags != (flags & ~(~0 << DICT_TF_BITS)))) {
246 ++ if (srv_expand_import) {
247 ++
248 + ibool file_is_corrupt = FALSE;
249 + byte* buf3;
250 + byte* descr_page;