~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_unix_socket_protocol/protocol.cc

  • Committer: Brian Aker
  • Date: 2010-12-17 22:19:09 UTC
  • mfrom: (1960.2.15 trunk-admin-tool)
  • Revision ID: brian@tangent.org-20101217221909-gsltcrjo302qjx26
Merge of Andrew

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
{