~maria-captains/maria/maria-5.3-mwl247

« back to all changes in this revision

Viewing changes to storage/maria/ma_key_recover.c

  • Committer: Igor Babaev
  • Date: 2012-03-02 00:02:25 UTC
  • mfrom: (3393.1.58 maria-5.3-bug943543)
  • Revision ID: igor@askmonty.org-20120302000225-o5wm631f7k4zai30
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1107
1107
      DBUG_PRINT("redo", ("org_page_length: %u  new_page_length: %u",
1108
1108
                          uint2korr(header), uint2korr(header+2)));
1109
1109
      DBUG_ASSERT(uint2korr(header) == page_length);
1110
 
      new_page_length= uint2korr(header+2);
 
1110
      new_page_length= min(uint2korr(header+2), max_page_size);
1111
1111
      header+= 4;
1112
1112
      break;
1113
1113
    case KEY_OP_MAX_PAGELENGTH: