~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/module.cc

  • Committer: Monty Taylor
  • Date: 2011-02-12 21:49:59 UTC
  • mto: (2165.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110212214959-bve8sh4hu761y48m
Updated the windows build to be able to build from the command line and not to show warnings on strncpy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 * registration.
31
31
 */
32
32
 
33
 
#include <config.h>
 
33
#include "config.h"
34
34
 
35
35
#include "transaction_log.h"
36
36
#include "transaction_log_applier.h"
38
38
#include "data_dictionary_schema.h"
39
39
#include "print_transaction_message.h"
40
40
#include "hexdump_transaction_message.h"
 
41
#include "background_worker.h"
41
42
 
42
43
#include <errno.h>
43
44
 
229
230
    hexdump_transaction_message_func_factory=
230
231
      new plugin::Create_function<HexdumpTransactionMessageFunction>("hexdump_transaction_message");
231
232
    context.add(hexdump_transaction_message_func_factory);
 
233
 
 
234
    /* 
 
235
     * Setup the background worker thread which maintains
 
236
     * summary information about the transaction log.
 
237
     */
 
238
    if (initTransactionLogBackgroundWorker())
 
239
      return 1; /* Error message output handled in function above */
232
240
  }
233
241
  return 0;
234
242
}