Use common function for setting up MySQL connection.
Earlier the same (or almost the same) code was duplicated in several places. A conflicting declaration was also removed. There was no implementation for that declaration.
This commit is contained in:
@ -324,7 +324,6 @@ typedef struct {
|
||||
|
||||
MySQLProtocol* mysql_protocol_init(DCB* dcb, int fd);
|
||||
void mysql_protocol_done (DCB* dcb);
|
||||
MySQLProtocol *gw_mysql_init(MySQLProtocol *data);
|
||||
int gw_receive_backend_auth(MySQLProtocol *protocol);
|
||||
int gw_decode_mysql_server_handshake(MySQLProtocol *protocol, uint8_t *payload);
|
||||
int gw_read_backend_handshake(MySQLProtocol *protocol);
|
||||
|
Reference in New Issue
Block a user