~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/mysql_protocol.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
plugin::Client *ListenMySQLProtocol::getClient(int fd)
84
84
{
85
85
  int new_fd= acceptTcp(fd);
86
 
  return new_fd == -1 ? NULL : new ClientMySQLProtocol(new_fd, _using_mysql41_protocol, getCounters());
 
86
  return new_fd == -1 ? NULL : new ClientMySQLProtocol(new_fd, getCounters());
87
87
}
88
88
 
89
 
ClientMySQLProtocol::ClientMySQLProtocol(int fd, bool using_mysql41_protocol, ProtocolCounters& set_counters) :
90
 
  _using_mysql41_protocol(using_mysql41_protocol),
 
89
ClientMySQLProtocol::ClientMySQLProtocol(int fd, ProtocolCounters& set_counters) :
 
90
  _using_mysql41_protocol(true),
91
91
  _is_interactive(false),
92
92
  counters(set_counters)
93
93
{