freebsd-ports/databases/mysqlwsrep56-server/files/patch-include_myisam.h
Nikolai Lifanov 1f9f34c365 add databases/mysqlwsrep56-server
- MySQL version enabled for Galera Replication

PR:		214807
Submitted by:	Philip Stoev <philip.stoev@galeracluster.com>
Reviewed by:	matthew, mat, mmokhi
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D9427
2017-02-22 17:31:39 +00:00

11 lines
549 B
C

--- include/myisam.h.orig 2017-01-25 07:58:07 UTC
+++ include/myisam.h
@@ -49,7 +49,7 @@ extern "C" {
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)