Bug #81150 Unnecessary portability code in mgmapi.cpp
Submitted: 20 Apr 2016 6:54 Modified: 28 Apr 2016 12:26
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:7.5.2 OS:Any
Assigned to: CPU Architecture:Any

[20 Apr 2016 6:54] Magnus Blåudd
Description:
The mgmapi.cpp, ndb_logevent.cpp and testMgm.cpp uses #ifdef's for  windows unnecessarily. This causes duplicated code and is error prone when copy&paste.

How to repeat:
MCI

Suggested fix:
Use ndb_socket portability functions to avoid unnecessary #ifdefs in the code.
[28 Apr 2016 12:26] Jon Stephens
Fixed in NDB 7.5.2. Code change only, no user-visible changes; no changelog entry required.

Closed.