summaryrefslogtreecommitdiff
path: root/databases/mysql91-server/files/patch-include_my__compare.h
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2025-01-09 19:41:14 +0100
committerJochen Neumeister <joneum@FreeBSD.org>2025-01-09 19:44:37 +0100
commit1fbff9cbe8d96f127a6f5a9564eaffe25dae78e3 (patch)
tree0a8293230edb91e091f88fa75bd89862f61b155d /databases/mysql91-server/files/patch-include_my__compare.h
parentdeskutils/gucharmap: upgrade to Version 16.0.2 (diff)
databases/mysql91-{server|client}: add new Ports
Welcome MySQL 9.1 What is new in MySQL9.1: https://dev.mysql.com/doc/relnotes/mysql/9.1/en/news-9-1-0.html MySQL8.4+ supports only 64-bit platforms! Sponsored by: Netzkommune GmbH Special thanks to: samm
Diffstat (limited to 'databases/mysql91-server/files/patch-include_my__compare.h')
-rw-r--r--databases/mysql91-server/files/patch-include_my__compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql91-server/files/patch-include_my__compare.h b/databases/mysql91-server/files/patch-include_my__compare.h
new file mode 100644
index 000000000000..3f85d7b82acb
--- /dev/null
+++ b/databases/mysql91-server/files/patch-include_my__compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2024-04-10 06:26:28 UTC
++++ include/my_compare.h
+@@ -50,7 +50,7 @@
+ 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)