Bug #54254 MySQL Cluster 7.1.3 includes my_socket.h from my_global.h, whis doesn't exist

Submitted: 5 Jun 2010 13:33 Modified: 7 Jun 2010 14:29
Reporter: Anders Karlsson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.1 OS:Windows (Any)
Assigned to: Magnus Blåudd CPU Architecture:Any
Tags: 7.1.3

[5 Jun 2010 13:33] Anders Karlsson
Description:
In MySQL Cluster 7 (I checked versions 7.1.3, but this seems to be the same on 7.0), my_global.h now include my_socket.h. Why this is suddenly needed I don't know, but it is there. On Linux, this is not an issue, as my_socket.h, and the my_socket_posix.h, that it in turn includes, is part of the distribution.

On Windows though, my_socket.h is not included with the distribution, nor is my_socket_posix.h (which is acceptable), or my_socket_win32.h. which seems to be the one we need (together with my_socket.h then) on Windows. The interesting this is that my_socket_win32.h actually is part of the Linux distribution, for what reason I don't know.

How to repeat:
Make sure that my_socket.h really is needed by my_global.h (I assume it is, as this dependency has been added). If it is, then please include my_socket.h and my_socket_win32.h with the Windows distribution. If not, then remove the dependency.
[7 Jun 2010 8:21] Jonas Oreland
does latest version (which changes some things in this area) still have this problem ?
[7 Jun 2010 13:29] Magnus Blåudd
Fixed in 7.1.4
[7 Jun 2010 14:01] Anders Karlsson
I did not use a source, I used a binary distribution and tried to build a bog standard MySQL C Client application in the supported way, which according to the manual should include my_global.h.
See here for example:
http://dev.mysql.com/doc/refman/5.1/en/my-init.html
[7 Jun 2010 14:29] Magnus Blåudd
Fixed in 7.1.4

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.