~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/mysql_protocol.h

  • Committer: Andrew Hutchings
  • Date: 2011-06-07 21:19:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2327.
  • Revision ID: andrew@linuxjedi.co.uk-20110607211919-7ef8spt1qkefxoyx
Remove all drizzleadmin code (hopefully)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
      max_connections(1000)
38
38
    { }
39
39
    drizzled::atomic<uint64_t> connectionCount;
40
 
    drizzled::atomic<uint64_t> adminConnectionCount;
41
40
    drizzled::atomic<uint64_t> failedConnections;
42
41
    drizzled::atomic<uint64_t> connected;
43
 
    drizzled::atomic<uint64_t> adminConnected;
44
42
    uint32_t max_connections;
45
43
};
46
44
 
77
75
  NET net;
78
76
  drizzled::String packet;
79
77
  uint32_t client_capabilities;
80
 
  bool is_admin_connection;
81
78
  bool _using_mysql41_protocol;
82
79
  bool _is_interactive;
83
80
 
96
93
    return _is_interactive;
97
94
  }
98
95
 
99
 
  bool isAdmin() const
100
 
  {
101
 
    return is_admin_connection;
102
 
  }
103
 
 
104
96
  ProtocolCounters *counters;
105
97
 
106
98
  virtual int getFileDescriptor(void);
132
124
  virtual bool haveError(void);
133
125
  virtual bool haveMoreData(void);
134
126
  virtual bool wasAborted(void);
135
 
  virtual bool isAdminAllowed(void);
136
 
  static std::vector<std::string> mysql_admin_ip_addresses;
137
 
  static void mysql_compose_ip_addresses(std::vector<std::string> options);
138
127
};
139
128
 
140
129
} /* namespace drizzle_plugin */