ports/databases/mysql91-server/files/patch-include_myisam.h
Jochen Neumeister 1fbff9cbe8 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
2025-01-09 19:44:37 +01:00

11 lines
480 B
C

--- include/myisam.h.orig 2024-04-10 06:26:28 UTC
+++ include/myisam.h
@@ -60,7 +60,7 @@
The following defines can be increased if necessary.
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
*/
-#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
#define MI_MAX_KEY_SEG 16 /* Max segments for key */
#define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH + MI_MAX_KEY_SEG * 6 + 8 + 8)