~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.cc

  • Committer: Monty Taylor
  • Date: 2009-06-08 13:39:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1060.
  • Revision ID: mordred@inaugust.com-20090608133905-3hogrrafmfg6e5hs
Removed CHARSET_INFO stuff from protocol plugin interface - it makes no sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
      break;
228
228
    protocol->prepareForResend();
229
229
    protocol->store(warning_level_names[err->level].str,
230
 
                    warning_level_names[err->level].length, system_charset_info);
 
230
                    warning_level_names[err->level].length);
231
231
    protocol->store((uint32_t) err->code);
232
 
    protocol->store(err->msg, strlen(err->msg), system_charset_info);
 
232
    protocol->store(err->msg, strlen(err->msg));
233
233
    if (protocol->write())
234
234
      return(true);
235
235
  }