MXS-1767: Fix value assignment in ss_dassert

The value was updated for debug builds but not for release builds. This
caused debug builds to fail if special flags were requested.
This commit is contained in:
Markus Mäkelä 2018-04-09 13:28:24 +03:00
parent cddf132d23
commit 099219fa0f
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -343,8 +343,8 @@ int MySQLSendHandshake(DCB* dcb)
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);
ss_dassert(mysql_server_capabilities_one[0] == 0xff);
ss_dassert(mysql_server_capabilities_one[1] == 0xf7);
if (is_maria)
{