~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/srv/srv0srv.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 00:26:12 UTC
  • mfrom: (2187.2.3 drizzle-build)
  • Revision ID: brian@tangent.org-20110222002612-5vxuzntgmcog0qq6
Merge: This cleans up the the error message system by providing for the ability to

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
/* Dummy comment */
61
61
#include "srv0srv.h"
62
62
 
 
63
#include <drizzled/error.h>
 
64
#include <drizzled/errmsg_print.h>
 
65
 
63
66
#include "ut0mem.h"
64
67
#include "ut0ut.h"
65
68
#include "os0proc.h"
2395
2398
        new_lsn = log_get_lsn();
2396
2399
 
2397
2400
        if (new_lsn < old_lsn) {
2398
 
                ut_print_timestamp(stderr);
2399
 
                fprintf(stderr,
2400
 
                        "  InnoDB: Error: old log sequence number %"PRIu64""
2401
 
                        " was greater\n"
2402
 
                        "InnoDB: than the new log sequence number %"PRIu64"!\n"
2403
 
                        "InnoDB: Please submit a bug report"
2404
 
                        " to http://bugs.mysql.com\n",
2405
 
                        old_lsn, new_lsn);
 
2401
          drizzled::errmsg_printf(drizzled::error::INFO,
 
2402
                                  "InnoDB: Error: old log sequence number %"PRIu64" was greater than the new log sequence number %"PRIu64"!"
 
2403
                                  "InnoDB: Please submit a bug report to http://bugs.launchpad.net/drizzle",
 
2404
                                  old_lsn, new_lsn);
2406
2405
        }
2407
2406
 
2408
2407
        old_lsn = new_lsn;