summaryrefslogtreecommitdiff
path: root/databases/mariadb55-server/files/patch-include_my_compare.h
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-01-05 11:30:51 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-01-05 11:30:51 +0000
commit87a0e0727b4a6e83720a41c543959f4b4e77df47 (patch)
tree1965b778fee6ae0a18b6aaf9146088662c7552f6 /databases/mariadb55-server/files/patch-include_my_compare.h
parentMark moinmoin vulnerable (diff)
Add the 5.5 branch of MariaDB
PR: ports/174660 Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua> Approved by: geoffroy desvernay <dgeo@centrale-marseille.fr> (maintainer of databases/mariadb-*)
Notes
Notes: svn path=/head/; revision=309955
Diffstat (limited to 'databases/mariadb55-server/files/patch-include_my_compare.h')
-rw-r--r--databases/mariadb55-server/files/patch-include_my_compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mariadb55-server/files/patch-include_my_compare.h b/databases/mariadb55-server/files/patch-include_my_compare.h
new file mode 100644
index 000000000000..5fc447b98cd7
--- /dev/null
+++ b/databases/mariadb55-server/files/patch-include_my_compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2012-11-28 17:49:43.000000000 +0200
++++ include/my_compare.h 2012-12-23 02:45:51.000000000 +0200
+@@ -40,7 +40,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 32 /* Max segments for key */
+
+ #define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24+ 6+6)