MXS-3297: Fix reading of extended MariaDB capabilities
The byte offset didn't take the size of the charset into account.
This commit is contained in:
@ -61,7 +61,7 @@ MXS_BEGIN_DECLS
|
||||
#define MYSQL_CHARSET_OFFSET 12
|
||||
#define MYSQL_CLIENT_CAP_OFFSET 4
|
||||
#define MYSQL_CLIENT_CAP_SIZE 4
|
||||
#define MARIADB_CAP_OFFSET MYSQL_CHARSET_OFFSET + 19
|
||||
#define MARIADB_CAP_OFFSET MYSQL_CHARSET_OFFSET + 20
|
||||
|
||||
#define GW_MYSQL_PROTOCOL_VERSION 10 // version is 10
|
||||
#define GW_MYSQL_HANDSHAKE_FILLER 0x00
|
||||
|
Reference in New Issue
Block a user