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:
@ -343,8 +343,8 @@ int MySQLSendHandshake(DCB* dcb)
|
|||||||
mysql_server_capabilities_one[1] = (uint8_t)(GW_MYSQL_CAPABILITIES_SERVER >> 8);
|
mysql_server_capabilities_one[1] = (uint8_t)(GW_MYSQL_CAPABILITIES_SERVER >> 8);
|
||||||
|
|
||||||
// Check that we match the old values
|
// Check that we match the old values
|
||||||
ss_dassert(mysql_server_capabilities_one[0] = 0xff);
|
ss_dassert(mysql_server_capabilities_one[0] == 0xff);
|
||||||
ss_dassert(mysql_server_capabilities_one[1] = 0xf7);
|
ss_dassert(mysql_server_capabilities_one[1] == 0xf7);
|
||||||
|
|
||||||
if (is_maria)
|
if (is_maria)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user