mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-15 23:38:05 -04:00
16 lines
661 B
C
16 lines
661 B
C
$NetBSD: patch-include_myisam.h,v 1.2 2011/07/08 09:32:07 adam Exp $
|
|
|
|
Adjust MI_MAX_KEY_LENGTH x4.
|
|
|
|
--- include/myisam.h.orig 2010-02-04 11:37:06.000000000 +0000
|
|
+++ 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)
|