summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-12-01 15:14:51 -0800
committerunknown <jimw@mysql.com>2005-12-01 15:14:51 -0800
commite49348e882830d0e153057830fd071eb270a8c62 (patch)
treeade25f66ccfc90cca17aed2534b98f53dd48b5f4 /sql/unireg.h
parent1976d814164d0d1ba47ab33feecac658f58cc988 (diff)
parentacc875f98296ebfb0854494dde3dd58c99f9c5be (diff)
downloadmariadb-git-e49348e882830d0e153057830fd071eb270a8c62.tar.gz
Merge mysql.com:/home/jimw/my/mysql-5.0-clean
into mysql.com:/home/jimw/my/mysql-5.1-clean client/mysqldump.c: Auto merged mysql-test/r/innodb.result: Auto merged sql/item_cmpfunc.cc: Auto merged sql/unireg.h: Auto merged mysql-test/r/mysqldump.result: Fix conflict mysql-test/t/mysqldump.test: Fix conflict
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 6d26a9ba2f0..f6c4b5f3048 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -53,11 +53,7 @@
#define MAX_SYS_VAR_LENGTH 32
#define MAX_KEY 64 /* Max used keys */
#define MAX_REF_PARTS 16 /* Max parts used as ref */
-#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
+#define MAX_KEY_LENGTH 3072 /* max possible key */
#if SIZEOF_OFF_T > 4
#define MAX_REFLENGTH 8 /* Max length for record ref */
#else