summaryrefslogtreecommitdiff
path: root/databases/mysql57-server/files/patch-include_my__compare.h
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-01-10 20:02:30 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-01-10 20:02:30 +0000
commit79c95318b4b6bb92d2ed30ac56c149a368607e8f (patch)
tree1549f09cac4aaf07f7bf837c0d5a159e7256fb2a /databases/mysql57-server/files/patch-include_my__compare.h
parentdatabases/mysql57-client, databases/mysql57-server: (diff)
databases/mysql57-client, databases/mysql57-server:
re-add for proper repo-copy PR: 204607
Notes
Notes: svn path=/head/; revision=405741
Diffstat (limited to 'databases/mysql57-server/files/patch-include_my__compare.h')
-rw-r--r--databases/mysql57-server/files/patch-include_my__compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql57-server/files/patch-include_my__compare.h b/databases/mysql57-server/files/patch-include_my__compare.h
new file mode 100644
index 000000000000..cd176ca50b43
--- /dev/null
+++ b/databases/mysql57-server/files/patch-include_my__compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2015-11-29 19:16:24 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)