~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/buf/buf0buf.cc

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
#include "log0recv.h"
53
53
#include "page0zip.h"
54
54
 
55
 
#include <drizzled/errmsg_print.h>
56
 
 
57
55
/*
58
56
                IMPLEMENTATION OF THE BUFFER POOL
59
57
                =================================
529
527
                     < mach_read_from_8(read_buf + FIL_PAGE_LSN))) {
530
528
                        ut_print_timestamp(stderr);
531
529
 
532
 
                        drizzled::errmsg_printf(drizzled::error::INFO,
533
 
                                                "InnoDB: Error: page %lu log sequence number %"PRIu64". "
534
 
                                                "InnoDB: is in the future! Current system log sequence number %"PRIu64". "
535
 
                                                "Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. See "
536
 
                                                " " REFMAN "forcing-recovery.html for more information. ",
537
 
                                                (ulong) mach_read_from_4(read_buf
538
 
                                                                         + FIL_PAGE_OFFSET),
539
 
                                                mach_read_from_8(read_buf + FIL_PAGE_LSN),
540
 
                                                current_lsn);
 
530
                        fprintf(stderr,
 
531
                                "  InnoDB: Error: page %lu log sequence number"
 
532
                                " %"PRIu64"\n"
 
533
                                "InnoDB: is in the future! Current system "
 
534
                                "log sequence number %"PRIu64".\n"
 
535
                                "InnoDB: Your database may be corrupt or "
 
536
                                "you may have copied the InnoDB\n"
 
537
                                "InnoDB: tablespace but not the InnoDB "
 
538
                                "log files. See\n"
 
539
                                "InnoDB: " REFMAN "forcing-recovery.html\n"
 
540
                                "InnoDB: for more information.\n",
 
541
                                (ulong) mach_read_from_4(read_buf
 
542
                                                         + FIL_PAGE_OFFSET),
 
543
                                mach_read_from_8(read_buf + FIL_PAGE_LSN),
 
544
                                current_lsn);
541
545
                }
542
546
        }
543
547
#endif