~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

Viewing changes to plugin/mysql_unix_socket_protocol/protocol.cc

merged with up to date trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
  return false;
152
152
}
153
153
 
 
154
plugin::Client *Protocol::getClient(int fd)
 
155
{
 
156
  int new_fd;
 
157
  new_fd= acceptTcp(fd);
 
158
  if (new_fd == -1)
 
159
    return NULL;
 
160
 
 
161
  return new ClientMySQLUnixSocketProtocol(new_fd, _using_mysql41_protocol, getCounters());
 
162
}
154
163
 
155
164
static void init_options(drizzled::module::option_context &context)
156
165
{