summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authoringo@mysql.com <>2005-12-06 08:19:23 +0100
committeringo@mysql.com <>2005-12-06 08:19:23 +0100
commita588622a6629b06bb931a20b935eed8663aaa7c1 (patch)
tree9530fa14d582e2d7bea51044d6c472f09c97c210 /sql/unireg.h
parent56e35734c20f2ce8130635c732ba92b68cbbd234 (diff)
parent6b18dbef3163f5c99d35852421d909cf3a7651bd (diff)
downloadmariadb-git-a588622a6629b06bb931a20b935eed8663aaa7c1.tar.gz
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-bug10932
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 40499261a4d..b932a2f320c 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -48,7 +48,7 @@
#define MAX_ALIAS_NAME 256
#define MAX_FIELD_NAME 34 /* Max colum name length +2 */
#define MAX_SYS_VAR_LENGTH 32
-#define MAX_KEY 64 /* Max used keys */
+#define MAX_KEY MAX_INDEXES /* Max used keys */
#define MAX_REF_PARTS 16 /* Max parts used as ref */
#define MAX_KEY_LENGTH 3072 /* max possible key */
#if SIZEOF_OFF_T > 4