#At file:///Users/mz/mysql/ndb-6.3-int64constants/ based on revid:jonas@stripped
3317 Martin Zaun 2010-10-21
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-26 18:53:34 +0000
+++ b/storage/ndb/include/ndb_types.h.in 2010-10-22 00:40:27 +0000
@@ -50,6 +50,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-20101022004027-a3689qvgevib41md.bundle
Thread |
---|
• bzr commit into mysql-5.1-telco-6.3 branch (martin.zaun:3317) | Martin Zaun | 22 Oct |