~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/hexdump_transaction_message.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:
102
102
  int log_file= open(filename.c_str(), O_RDONLY);
103
103
  if (log_file == -1)
104
104
  {
105
 
    char errmsg[STRERROR_MAX];
106
 
    strerror_r(errno, errmsg, sizeof(errmsg));
107
 
    errmsg_printf(ERRMSG_LVL_ERROR, _("Failed to open transaction log file %s.  Got error: %s\n"), 
108
 
                  filename.c_str(), 
109
 
                  errmsg);
 
105
    drizzled::sql_perror(_("Failed to open transaction log file"), filename);
110
106
    null_value= true;
 
107
 
111
108
    return NULL;
112
109
  }
113
110