summaryrefslogtreecommitdiff
path: root/databases/mysql80-client/files/patch-include_my__compare.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_my__compare.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
Notes
Notes: svn path=/head/; revision=430827
Diffstat (limited to 'databases/mysql80-client/files/patch-include_my__compare.h')
-rw-r--r--databases/mysql80-client/files/patch-include_my__compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql80-client/files/patch-include_my__compare.h b/databases/mysql80-client/files/patch-include_my__compare.h
new file mode 100644
index 000000000000..1a64142bb658
--- /dev/null
+++ b/databases/mysql80-client/files/patch-include_my__compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2016-03-28 18:06:12 UTC
++++ include/my_compare.h
+@@ -40,7 +40,7 @@ extern "C" {
+ But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and HA_MAX_KEY_LENGTH.
+ */
+
+-#define HA_MAX_KEY_LENGTH 1000 /* Max length in bytes */
++#define HA_MAX_KEY_LENGTH 4000 /* Max length in bytes */
+ #define HA_MAX_KEY_SEG 16 /* Max segments for key */
+
+ #define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24+ 6+6)