From b549ad1676bd89d5420003ed46c47a2cfb51029a Mon Sep 17 00:00:00 2001 From: Massimiliano Pinto Date: Thu, 4 Jul 2013 11:48:03 +0200 Subject: [PATCH] Changed value for MYSQL_PENDING_CONNECT and MYSQL_CONNECTED --- modules/include/mysql_client_server_protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/include/mysql_client_server_protocol.h b/modules/include/mysql_client_server_protocol.h index b276ff4a5..955a92d30 100644 --- a/modules/include/mysql_client_server_protocol.h +++ b/modules/include/mysql_client_server_protocol.h @@ -104,8 +104,8 @@ typedef struct mysql_session { /* MySQL Protocol States */ #define MYSQL_ALLOC 0 /* Allocate data */ -#define MYSQL_CONNECTED 1 /* Backend socket Connected */ -#define MYSQL_PENDING_CONNECT 2 /* Backend socket pending connect */ +#define MYSQL_PENDING_CONNECT 1 /* Backend socket pending connect */ +#define MYSQL_CONNECTED 2 /* Backend socket Connected */ #define MYSQL_AUTH_SENT 3 /* Authentication handshake has been sent */ #define MYSQL_AUTH_RECV 4 /* Received user, password, db and capabilities */ #define MYSQL_AUTH_FAILED 5 /* Auth failed, return error packet */