summaryrefslogtreecommitdiff
path: root/databases/percona55-client/files/patch-include_my_compare.h
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2011-05-10 08:36:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2011-05-10 08:36:53 +0000
commit0d4594ec0362dc45a2014e9309049234c3c775b9 (patch)
treee0b40367b4c7f743aba00cfa1fc83acaaf6debb9 /databases/percona55-client/files/patch-include_my_compare.h
parentUpdate to 5.0.2 release. (diff)
Update to 5.5.12 release.
Notes
Notes: svn path=/head/; revision=273904
Diffstat (limited to 'databases/percona55-client/files/patch-include_my_compare.h')
-rw-r--r--databases/percona55-client/files/patch-include_my_compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/percona55-client/files/patch-include_my_compare.h b/databases/percona55-client/files/patch-include_my_compare.h
new file mode 100644
index 000000000000..093c8ae37789
--- /dev/null
+++ b/databases/percona55-client/files/patch-include_my_compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2011-05-10 09:46:46.000000000 +0200
++++ include/my_compare.h 2011-05-10 09:47:01.000000000 +0200
+@@ -39,7 +39,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)