~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/print_transaction_message.cc

  • Committer: Lee Bieber
  • Date: 2011-04-17 00:03:05 UTC
  • mfrom: (2275.2.20 prune)
  • mto: This revision was merged to the branch mainline in revision 2280.
  • Revision ID: kalebral@gmail.com-20110417000305-4j9b5tvn5ygax1s7
Merge Olaf - Delete unused functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
  string transaction_text;
181
181
  protobuf::TextFormat::PrintToString(transaction_message, &transaction_text);
182
182
 
183
 
  if (str->alloc(transaction_text.length()))
184
 
  {
185
 
    delete coded_input;
186
 
    delete file_input;
187
 
    null_value= true;
188
 
    return NULL;
189
 
  }
190
 
 
 
183
  str->alloc(transaction_text.length());
191
184
  str->length(transaction_text.length());
192
185
 
193
186
  strncpy(str->ptr(), transaction_text.c_str(), transaction_text.length());