~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log_reader.cc

  • Committer: Brian Aker
  • Date: 2011-02-01 02:51:01 UTC
  • mto: (2132.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2134.
  • Revision ID: brian@tangent.org-20110201025101-yaj5kkdk2towo6ou
Merge in error message rework. Many error messages are fixed in this patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
    if (log_file == -1)
93
93
    {
94
 
      char errmsg[STRERROR_MAX];
95
 
      strerror_r(errno, errmsg, sizeof(errmsg));
96
 
      errmsg_printf(ERRMSG_LVL_ERROR, 
97
 
                    _("Failed to open transaction log file %s.  Got error: %s\n"),
98
 
                    log_filename_to_read.c_str(),
99
 
                    errmsg);
 
94
      sql_perror(_("Failed to open transaction log file"), log_filename_to_read);
100
95
      return false;
101
96
    }
102
97