summaryrefslogtreecommitdiff
path: root/include/myisam.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-09-12 16:51:41 +0200
committerSergei Golubchik <sergii@pisem.net>2014-09-12 16:51:41 +0200
commitc799d65bafe16eeef9eeaddc90a94e2a7fab1724 (patch)
tree711ef7f707616408000d82c29d2a2994783bc6ad /include/myisam.h
parent32360bb7289a5758a6abe12a84e9fd0ecc3d6ce4 (diff)
parent5023bb899dfaf78d85be2e6c08ec22cadcbcf82a (diff)
downloadmariadb-git-c799d65bafe16eeef9eeaddc90a94e2a7fab1724.tar.gz
5.3 merge
Diffstat (limited to 'include/myisam.h')
-rw-r--r--include/myisam.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/myisam.h b/include/myisam.h
index 4ea40210cd3..d50b1dc360e 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -40,6 +40,12 @@ extern "C" {
#endif
#define MI_MAX_POSSIBLE_KEY_BUFF HA_MAX_POSSIBLE_KEY_BUFF
+/*
+ The following defines can be increased if necessary.
+ But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
+*/
+#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
+#define MI_MAX_KEY_SEG 16 /* Max segments for key */
#define MI_NAME_IEXT ".MYI"
#define MI_NAME_DEXT ".MYD"