summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/myisam.h2
-rw-r--r--sql/unireg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/myisam.h b/include/myisam.h
index ed4f4aff8fe..452b32dbefd 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -36,7 +36,7 @@ extern "C" {
/* defines used by myisam-funktions */
/* The following defines can be increased if necessary */
-#define MI_MAX_KEY 32 /* Max allowed keys */
+#define MI_MAX_KEY 64 /* Max allowed keys */
#define MI_MAX_KEY_SEG 16 /* Max segments for key */
#define MI_MAX_KEY_LENGTH 1000
diff --git a/sql/unireg.h b/sql/unireg.h
index 442809a9e08..4ab2ba26b15 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 32 /* Max used keys */
+#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_OFF_T > 4