summaryrefslogtreecommitdiff
path: root/databases/mysql80-client/files/patch-include_myisam.h
diff options
context:
space:
mode:
authorNikolai Lifanov <lifanov@FreeBSD.org>2017-01-07 20:34:46 +0000
committerNikolai Lifanov <lifanov@FreeBSD.org>2017-01-07 20:34:46 +0000
commitc93ab7fefa27cc2640ad10481f106ecc089d83d5 (patch)
tree317be9105acc04fa055523ebb9f20f1cc249c71f /databases/mysql80-client/files/patch-include_myisam.h
parentUpgrade libproj4 to proj.4 4.9.3. (diff)
add databases/mysql80-server and databases/mysql80-client
This is a development snapshot of upcoming MySQL 8.0. PR: 215738 Submitted by: Mahdi Mokhtari <mokhi64@gmail.com> Reviewed by: matthew, feld Approved by: matthew (mentor), feld Differential Revision: https://reviews.freebsd.org/D9031
Diffstat (limited to 'databases/mysql80-client/files/patch-include_myisam.h')
-rw-r--r--databases/mysql80-client/files/patch-include_myisam.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql80-client/files/patch-include_myisam.h b/databases/mysql80-client/files/patch-include_myisam.h
new file mode 100644
index 000000000000..0a4b795e9426
--- /dev/null
+++ b/databases/mysql80-client/files/patch-include_myisam.h
@@ -0,0 +1,11 @@
+--- include/myisam.h.orig 2016-03-28 18:06:12 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)