List:Commits« Previous MessageNext Message »
From:Martin Zaun Date:October 20 2010 1:10am
Subject:bzr commit into mysql-5.1-telco-7.1 branch (martin.zaun:3902)
View as plain text  
#At file:///Users/mz/mysql/ndb-7.1-ndbtypes/ based on revid:martin.zaun@stripped

 3902 Martin Zaun	2010-10-19
      added [U]INT_MIN/MAX64 defines (needed for ndb_restore lossy conversion patches).

    modified:
      storage/ndb/include/ndb_types.h.in
=== modified file 'storage/ndb/include/ndb_types.h.in'
--- a/storage/ndb/include/ndb_types.h.in	2009-05-27 15:21:45 +0000
+++ b/storage/ndb/include/ndb_types.h.in	2010-10-20 01:10:11 +0000
@@ -46,6 +46,18 @@ typedef unsigned short Uint16;
 typedef   signed int   Int32;
 typedef unsigned int   Uint32;
 
+#ifndef INT_MIN64
+#define INT_MIN64       (~0x7FFFFFFFFFFFFFFFLL)
+#endif // !INT_MIN64
+
+#ifndef INT_MAX64
+#define INT_MAX64       0x7FFFFFFFFFFFFFFFLL
+#endif // !INT_MAX64
+
+#ifndef UINT_MAX64
+#define UINT_MAX64      0xFFFFFFFFFFFFFFFFLL
+#endif // !UINT_MAX64
+
 typedef unsigned int UintR;
 
 #ifdef __SIZE_TYPE__


Attachment: [text/bzr-bundle] bzr/martin.zaun@oracle.com-20101020011011-rhpmr9ee9fhim9tr.bundle
Thread
bzr commit into mysql-5.1-telco-7.1 branch (martin.zaun:3902) Martin Zaun20 Oct