summaryrefslogtreecommitdiff
path: root/databases/mysql84-server/files/patch-include_my__compare.h
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2024-05-24 18:08:52 +0200
committerJochen Neumeister <joneum@FreeBSD.org>2024-05-24 18:15:44 +0200
commit3c10befc00dadfb8ff0db2e9016ef092df855345 (patch)
tree750fd5f30964323d1f52e0213e507e3f8bb50da1 /databases/mysql84-server/files/patch-include_my__compare.h
parentnet/Makefile: Add missing entries (diff)
databases/mysql84-{server|client}: add new Ports
Welcome MySQL 8.4 What is new in MySQL8.4 since MySQL 8.0: https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html HINT: MySQL8.2+ supports only 64-bit platforms!!! special thanks for the majority of the work on this port: samm aka Alex S.
Diffstat (limited to 'databases/mysql84-server/files/patch-include_my__compare.h')
-rw-r--r--databases/mysql84-server/files/patch-include_my__compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql84-server/files/patch-include_my__compare.h b/databases/mysql84-server/files/patch-include_my__compare.h
new file mode 100644
index 000000000000..3f85d7b82acb
--- /dev/null
+++ b/databases/mysql84-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)