~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_unix_socket_protocol/protocol.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
  fs::path uds_path(vm["path"].as<fs::path>());
68
68
  if (not fs::exists(uds_path))
69
69
  {
70
 
    Protocol *listen_obj= new Protocol("mysql_unix_socket_protocol", true, uds_path);
 
70
    Protocol *listen_obj= new Protocol("mysql_unix_socket_protocol", uds_path);
71
71
    listen_obj->addCountersToTable();
72
72
    context.add(listen_obj);
73
73
    context.registerVariable(new sys_var_const_string_val("path", fs::system_complete(uds_path).file_string()));