List:Internals« Previous MessageNext Message »
From:kvishwanatha Date:September 12 2005 2:31pm
Subject:bk commit into 5.0 tree (bldsql:1.1967)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of bldsql. When bldsql does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1967 05/09/12 20:01:30 bldsql@stripped +1 -0
  NetWare specific changes:
  Needed under MetroWerks compiler, since MetroWerks compiler doesn't give the expected result
  when ULONGLONG_MAX % 100 is computed.

  strings/my_strtoll10.c
    1.11 05/09/12 20:01:24 bldsql@stripped +6 -0
    NetWare specific changes:
    Needed under MetroWerks compiler, since MetroWerks compiler doesn't give the expected result
    when ULONGLONG_MAX % 100 is computed.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	bldsql
# Host:	blr-naas-nwl03.blr.novell.com
# Root:	/home/bldsql/bk/mysql-5.0-web

--- 1.10/strings/my_strtoll10.c	2004-12-18 06:12:24 +05:30
+++ 1.11/strings/my_strtoll10.c	2005-09-12 20:01:24 +05:30
@@ -19,7 +19,13 @@
 #include <m_string.h>
 
 #undef  ULONGLONG_MAX
+/* Needed under MetroWerks Compiler, since MetroWerks compiler does not properly handle a constant expression containing a mod operator */
+#if defined(__NETWARE__) && defined(__MWERKS__) 
+ulonglong tmp;
+#define ULONGLONG_MAX (tmp =(~(ulonglong) 0))
+#else
 #define ULONGLONG_MAX		(~(ulonglong) 0)
+#endif /* __NETWARE__ && __MWERKS__ */
 #define MAX_NEGATIVE_NUMBER	((ulonglong) LL(0x8000000000000000))
 #define INIT_CNT  9
 #define LFACTOR   ULL(1000000000)
Thread
bk commit into 5.0 tree (bldsql:1.1967)kvishwanatha12 Sep