~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_unix_socket_protocol/protocol.cc

  • Committer: Andrew Hutchings
  • Date: 2011-01-31 14:35:57 UTC
  • mto: (2136.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2137.
  • Revision ID: andrew@linuxjedi.co.uk-20110131143557-ul09gpvfwhx0p0nt
Add protocol counters table

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    Protocol *listen_obj= new Protocol("mysql_unix_socket_protocol",
74
74
                             true,
75
75
                             uds_path);
 
76
    listen_obj->addCountersToTable();
76
77
    context.add(listen_obj);
77
78
    context.registerVariable(new sys_var_const_string_val("path", fs::system_complete(uds_path).file_string()));
78
79
    context.registerVariable(new sys_var_bool_ptr_readonly("clobber", &clobber));