~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/print_transaction_message.cc

  • Committer: Jay Pipes
  • Date: 2009-11-26 02:50:58 UTC
  • mto: (1234.1.1 push) (1237.2.10 push)
  • mto: This revision was merged to the branch mainline in revision 1229.
  • Revision ID: jpipes@serialcoder-20091126025058-gb502pid4gq9l7d8
Fixes information schema tests, adds a hexdump UDF for the transaction message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
/**
26
26
 * @file
27
27
 *
28
 
 * Implements the PRINT_TRANSACTION_MESSAGE() UDF.
 
28
 * Implements the PRINT_TRANSACTION_MESSAGE(filename, offset) UDF.
29
29
 */
30
30
 
31
31
#include <drizzled/server_includes.h>
50
50
/** Defined in transaction_log.cc */
51
51
extern TransactionLog *transaction_log;
52
52
 
53
 
plugin::Create_function<PrintTransactionMessageFunction> *print_transaction_message_func= NULL;
 
53
plugin::Create_function<PrintTransactionMessageFunction> *print_transaction_message_func_factory= NULL;
54
54
 
55
55
void PrintTransactionMessageFunction::fix_length_and_dec()
56
56
{
163
163
 
164
164
  strncpy(str->ptr(), transaction_text.c_str(), transaction_text.length());
165
165
 
 
166
  delete coded_input;
166
167
  delete file_input;
167
168
 
168
169
  return str;