List:Internals« Previous MessageNext Message »
From:jani Date:October 13 2005 2:21pm
Subject:bk commit into 4.1 tree (jani:1.2482)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jani. When jani 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.2482 05/10/13 17:21:14 jani@stripped +4 -0
  Some Netware related fixes and fixes for Metrowerks compiler.

  strings/my_strtoll10.c
    1.10 05/10/13 17:21:06 jani@stripped +9 -0
    Fix for Metrowerks compiler.

  scripts/make_binary_distribution.sh
    1.87 05/10/13 17:21:06 jani@stripped +1 -2
    Netware specific change for creating help tables.

  netware/pack_isam.def
    1.5 05/10/13 17:21:06 jani@stripped +1 -0
    NetWare specific change, Added SCRENNAME for pack_isam.

  netware/BUILD/mwenv
    1.11 05/10/13 17:21:06 jani@stripped +2 -2
    Removed -O3 for Metrowerks compiler.

# 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:	jani
# Host:	ua141d10.elisa.omakaista.fi
# Root:	/home/my/bk/mysql-4.1-tmp

--- 1.86/scripts/make_binary_distribution.sh	2005-10-07 18:34:34 +03:00
+++ 1.87/scripts/make_binary_distribution.sh	2005-10-13 17:21:06 +03:00
@@ -254,8 +254,7 @@
       >> $BASE/bin/init_db.sql
   sh ./scripts/mysql_create_system_tables.sh test "" "%" 0 \
       > $BASE/bin/test_db.sql
-#  cp ./netware/static_init_db.sql ./netware/init_db.sql
-#  ./scripts/fill_help_tables < ./Docs/manual.texi >> ./netware/init_db.sql
+  ./scripts/fill_help_tables < ./Docs/manual.texi >> ./netware/init_db.sql
 fi
 
 #

--- 1.10/netware/BUILD/mwenv	2005-03-09 20:58:48 +02:00
+++ 1.11/netware/BUILD/mwenv	2005-10-13 17:21:06 +03:00
@@ -19,9 +19,9 @@
 export AR_FLAGS='-type library -o'
 export AS='mwasmnlm'
 export CC='mwccnlm -gccincludes'
-export CFLAGS='-O3 -align 8 -proc 686 -relax_pointers -dialect c'
+export CFLAGS='-align 8 -proc 686 -relax_pointers -dialect c'
 export CXX='mwccnlm -gccincludes'
-export CXXFLAGS='-O3 -align 8 -proc 686 -relax_pointers -dialect c++ -bool on -wchar_t on -D_WCHAR_T'
+export CXXFLAGS='-align 8 -proc 686 -relax_pointers -dialect c++ -bool on -wchar_t on -D_WCHAR_T'
 export LD='mwldnlm'
 export LDFLAGS='-entry _LibCPrelude -exit _LibCPostlude -map -flags pseudopreemption'
 export RANLIB=:

--- 1.4/netware/pack_isam.def	2004-11-29 17:41:08 +02:00
+++ 1.5/netware/pack_isam.def	2005-10-13 17:21:06 +03:00
@@ -4,6 +4,7 @@
 MODULE	libc.nlm
 COPYRIGHT "(c) 2003-2005 Novell, Inc. Portions (c) 2003 MySQL AB. All Rights Reserved."
 DESCRIPTION "MySQL ISAM Table Pack Tool"
+SCREENNAME "MySQL ISAM Table Pack Tool"
 VERSION 4, 0
 XDCDATA ../netware/mysql.xdc
 #DEBUG

--- 1.9/strings/my_strtoll10.c	2004-05-26 19:12:47 +03:00
+++ 1.10/strings/my_strtoll10.c	2005-10-13 17:21:06 +03:00
@@ -19,7 +19,16 @@
 #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__) 
+static ulonglong ulonglong_max= ~(ulonglong) 0;
+#define ULONGLONG_MAX ulonglong_max
+#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 4.1 tree (jani:1.2482)jani13 Oct