Skip to content

Commit

Permalink
Bug#32107056 SEVERAL COMPILE WARNINGS FOR MYSQL CLUSTER ON WINDOWS WI…
Browse files Browse the repository at this point in the history
…TH 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
  • Loading branch information
zmur committed Nov 5, 2020
1 parent 4934af1 commit cc5d3c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/ndb/src/kernel/blocks/backup/Backup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2804,11 +2804,11 @@ Backup::execDUMP_STATE_ORD(Signal* signal)
*/
if (signal->length() == 2)
{
if (signal->theData[1] == true)
if (signal->theData[1] == 1)
{
c_defaults.m_encryption_required = true;
}
else if (signal->theData[1] == false)
else if (signal->theData[1] == 0)
{
c_defaults.m_encryption_required = false;
}
Expand Down

0 comments on commit cc5d3c9

Please sign in to comment.