Skip to content

Commit c26a939

Browse files
committed
Bug#32107056 SEVERAL COMPILE WARNINGS FOR MYSQL CLUSTER ON WINDOWS WITH VS 2019 [#2] [noclose]
storage\ndb\src\kernel\blocks\backup\Backup.cpp(2807,37): warning C4805: '==': unsafe mix of type 'Uint32' and type 'bool' in operation Change-Id: I0582c4e40bcfc69cdf3288ed84ad3ac62c9e4b80
1 parent e0a8b3f commit c26a939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/ndb/src/kernel/blocks/backup/Backup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,11 +2804,11 @@ Backup::execDUMP_STATE_ORD(Signal* signal)
28042804
*/
28052805
if (signal->length() == 2)
28062806
{
2807-
if (signal->theData[1] == true)
2807+
if (signal->theData[1] == 1)
28082808
{
28092809
c_defaults.m_encryption_required = true;
28102810
}
2811-
else if (signal->theData[1] == false)
2811+
else if (signal->theData[1] == 0)
28122812
{
28132813
c_defaults.m_encryption_required = false;
28142814
}

0 commit comments

Comments
 (0)