summaryrefslogtreecommitdiff
path: root/databases/percona57-client/files/patch-include_myisam.h
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2017-01-10 18:54:32 +0000
committerMark Felder <feld@FreeBSD.org>2017-01-10 18:54:32 +0000
commitf5a7bbe20b44e2ed7ce2b3d6d9ce2e9d94056ac8 (patch)
tree9dbb8720f9319f45cd7516be53e22a9d6faa015f /databases/percona57-client/files/patch-include_myisam.h
parentNew port: audio/sratom (diff)
Welcome Percona 5.7 ports to the tree
- client and server version 5.7.16-10 - pam-for-mysql: compatible with newer MySQL API (MySQL 5.7+) Thanks to all who have worked on Percona, MariaDB, and MySQL ports. Your tireless efforts have been instrumental in making this port happen. Differential Revision: https://reviews.freebsd.org/D8785
Notes
Notes: svn path=/head/; revision=431126
Diffstat (limited to 'databases/percona57-client/files/patch-include_myisam.h')
-rw-r--r--databases/percona57-client/files/patch-include_myisam.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/percona57-client/files/patch-include_myisam.h b/databases/percona57-client/files/patch-include_myisam.h
new file mode 100644
index 000000000000..96bc58628416
--- /dev/null
+++ b/databases/percona57-client/files/patch-include_myisam.h
@@ -0,0 +1,11 @@
+--- include/myisam.h.orig 2016-11-27 19:44:54 UTC
++++ include/myisam.h
+@@ -45,7 +45,7 @@ extern "C" {
+ 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_LENGTH 4000 /* Max length in bytes */
+ #define MI_MAX_KEY_SEG 16 /* Max segments for key */
+
+ #define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8)