~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/innobase/mtr/mtr0log.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
408
408
        ptr += 2;
409
409
 
410
410
        if (UNIV_UNLIKELY(offset >= UNIV_PAGE_SIZE)
411
 
                        || UNIV_UNLIKELY(len + offset) > UNIV_PAGE_SIZE) {
 
411
            || UNIV_UNLIKELY(len + offset > UNIV_PAGE_SIZE)) {
412
412
                recv_sys->found_corrupt_log = TRUE;
413
413
 
414
414
                return(NULL);