~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_unix_socket_protocol/protocol.h

  • Committer: Monty Taylor
  • Date: 2010-11-18 07:03:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1946.
  • Revision ID: mordred@inaugust.com-20101118070309-pi09o1fvn89oxd5b
Fixes the issues with socket

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <drizzled/atomics.h>
28
28
#include "drizzled/plugin/table_function.h"
29
29
 
 
30
#include <boost/filesystem.hpp>
 
31
 
30
32
#include "plugin/mysql_protocol/mysql_protocol.h"
31
33
 
32
34
namespace mysql_unix_socket_protocol
34
36
 
35
37
class Protocol: public ListenMySQLProtocol
36
38
{
 
39
  const boost::filesystem::path unix_socket_path;
37
40
public:
38
 
  Protocol(std::string name_arg, bool using_mysql41_protocol_arg):
39
 
    ListenMySQLProtocol(name_arg, using_mysql41_protocol_arg)
 
41
  Protocol(std::string name_arg,
 
42
           bool using_mysql41_protocol_arg,
 
43
           const boost::filesystem::path &unix_socket_path_arg) :
 
44
    ListenMySQLProtocol(name_arg, using_mysql41_protocol_arg),
 
45
    unix_socket_path(unix_socket_path_arg)
40
46
  { }
41
47
 
42
48
  ~Protocol();