summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/patches/patch-include_myisam.h
blob: 5e6dd48a6bf935578f9173aaae294848d0cac97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-include_myisam.h,v 1.1.1.1 2011/04/25 21:12:53 adam Exp $

Adjust MI_MAX_KEY_LENGTH x4.

--- include/myisam.h.orig	2010-02-04 11:37:06.000000000 +0000
+++ include/myisam.h
@@ -48,7 +48,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)