From f94d1a98632b6879b73da6829490625de8be5262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 10 Apr 2018 15:24:57 +0300 Subject: [PATCH] MXS-1767: Remove old debug assertion The old assertion expected MaxScale to present the COMPRESS capability which it doesn't support. --- server/modules/protocol/MySQL/MySQLClient/mysql_client.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/modules/protocol/MySQL/MySQLClient/mysql_client.c b/server/modules/protocol/MySQL/MySQLClient/mysql_client.c index dcaff503d..ef96a5c15 100644 --- a/server/modules/protocol/MySQL/MySQLClient/mysql_client.c +++ b/server/modules/protocol/MySQL/MySQLClient/mysql_client.c @@ -342,10 +342,6 @@ int MySQLSendHandshake(DCB* dcb) mysql_server_capabilities_one[0] = (uint8_t)GW_MYSQL_CAPABILITIES_SERVER; mysql_server_capabilities_one[1] = (uint8_t)(GW_MYSQL_CAPABILITIES_SERVER >> 8); - // Check that we match the old values - ss_dassert(mysql_server_capabilities_one[0] == 0xff); - ss_dassert(mysql_server_capabilities_one[1] == 0xf7); - if (is_maria) { /** A MariaDB 10.2 server doesn't send the CLIENT_MYSQL capability