freebsd-ports/databases/mariadb100-client/files/patch-include_my_compare.h
John Marino d2bcf058dc Add new ports databases/mariadb100-server and -client (version 10.0)
PR:		193539
Submitted by:	spil.oss (gmail)

MariaDB is a database server that offers drop-in replacement functionality
for MySQL. MariaDB is built by some of the original authors of MySQL, with
assistance from the broader community of Free and open source software
developers. In addition to the core functionality of MySQL, MariaDB offers
a rich set of feature enhancements including alternate storage engines,
server optimizations, and patches.
2014-11-04 08:21:55 +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)