bk commit into 5.0 tree (kent:1.1935) -
08-26-2005
, 06:51 PM
Below is the list of changes that have just been committed into a local
5.0 repository of kent. When kent 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/in...urce-tree.html
ChangeSet
1.1935 05/08/27 01:50:38 kent (AT) mysql (DOT) com +1 -0
unireg.h:
Max index key length increased from 1024 to 3072
for 64 bit builds.
sql/unireg.h
1.40 05/08/27 01:48:58 kent (AT) mysql (DOT) com +5 -1
Max index key length increased from 1024 to 3072
for 64 bit builds.
# 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: kent
# Host: dialup-d2i-62-65-89-202.home.se
# Root: /Users/kent/mysql/bk/mysql-5.0-release
--- 1.39/sql/unireg.h 2005-02-07 18:38:45 +01:00
+++ 1.40/sql/unireg.h 2005-08-27 01:48:58 +02:00
@@ -50,7 +50,11 @@
#define MAX_SYS_VAR_LENGTH 32
#define MAX_KEY 64 /* Max used keys */
#define MAX_REF_PARTS 16 /* Max parts used as ref */
-#define MAX_KEY_LENGTH 1024 /* max possible key */
+#if SIZEOF_CHARP > 4
+#define MAX_KEY_LENGTH 3072 /* max possible key, if 64 bits */
+#else
+#define MAX_KEY_LENGTH 1024 /* max possible key, if 32 bits */
+#endif
#if SIZEOF_OFF_T > 4
#define MAX_REFLENGTH 8 /* Max length for record ref */
#else
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw |