Bug #30171 Get error when do compile cluster source code in solaris using gcc

Submitted: 1 Aug 2007 9:01 Modified: 1 Aug 2007 10:31
Reporter: li zhou Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.18 OS:Solaris
Assigned to: CPU Architecture:Any

[1 Aug 2007 9:01] li zhou
Description:
Got "integer constant is too large for "long" type" when compile the source code in solaris using gcc compiler.

gcc version 3.4.6.

How to repeat:
1. copy source code in a solaris machine.
2. do "./BUILD/compile-solaris-sparc"
3: get following error

ha_ndbcluster.cc: In member function `int ha_ndbcluster::set_ndb_value(NdbOperation*, Field*, uint, int, bool*)':
ha_ndbcluster.cc:738: error: integer constant is too large for "long" type
make[4]: *** [ha_ndbcluster.o] Error 1

Suggested fix:
Source code should compile success in solaris using gcc.
[1 Aug 2007 10:31] Sveta Smirnova
Thank you for the report.

This bug has been fixed. See also http://mysql.bkbits.net:8080/mysql-5.1/sql/ha_ndbcluster.cc?PAGE=diffs&REV=1.175.75.7 and http://mysql.bkbits.net:8080/mysql-5.1/?PAGE=cset&REV=1.1810.2852.3

Please upgrade.

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

Page generated in 0.038 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.