~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2011-02-12 21:49:59 UTC
  • mto: (2165.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110212214959-bve8sh4hu761y48m
Updated the windows build to be able to build from the command line and not to show warnings on strncpy.

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
 
 
66
63
#include "ut0mem.h"
67
64
#include "ut0ut.h"
68
65
#include "os0proc.h"
2398
2395
        new_lsn = log_get_lsn();
2399
2396
 
2400
2397
        if (new_lsn < old_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);
 
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);
2405
2406
        }
2406
2407
 
2407
2408
        old_lsn = new_lsn;