freebsd-ports/databases/mariadb55-client/files/patch-include_my_compare.h
Florian Smeets 87a0e0727b 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-*)
2013-01-05 11:30:51 +00:00

11 lines
526 B
C

--- include/my_compare.h.orig 2012-12-17 03:52:37.000000000 +0200
+++ include/my_compare.h 2012-12-17 03:53:40.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)