ports/databases/mysql90-server/files/patch-include_my__compare.h
Jochen Neumeister 83d646c699 databases/mysql90-{server|client}: add new Ports
Welcome MySQL 8.4

What is new in MySQL8.4 since MySQL 9.0:
https://dev.mysql.com/doc/refman/9.0/en/mysql-nutshell.html

HINT: MySQL8.4+ supports only 64-bit platforms!!!

Sponsored by:	Netzkommune GmbH
2024-09-01 03:00:55 +02:00

11 lines
427 B
C

--- 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)