~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/command_log/command_log.cc

Merged in latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
 */
101
101
static bool sysvar_command_log_checksum_enabled= false;
102
102
 
103
 
CommandLog::CommandLog(const char *in_log_file_path, bool in_do_checksum)
 
103
CommandLog::CommandLog(string name_arg,
 
104
                       const char *in_log_file_path, bool in_do_checksum)
104
105
  : 
105
 
    plugin::CommandApplier(),
 
106
    plugin::CommandApplier(name_arg),
106
107
    state(OFFLINE),
107
108
    log_file_path(in_log_file_path)
108
109
{
354
355
{
355
356
  if (sysvar_command_log_enabled)
356
357
  {
357
 
    command_log= new CommandLog(sysvar_command_log_file, 
 
358
    command_log= new CommandLog("command_log",
 
359
                                sysvar_command_log_file, 
358
360
                                sysvar_command_log_checksum_enabled);
359
361
    registry.add(command_log);
360
362
  }