ports/databases/mariadb100-client/files/patch-include_my__compare.h
Bernard Spil 6cead7efb7 databases/mariadb100-server: Update to 10.0.29
- Update to 10.0.29
 - Update mariadb100-client
 - Update patches
 - Regen patches with makepatch
 - Pet portlint
 - Add MROONGA liblz4 dependency
 - Fix MROONGA liblz4 linking
 - rm erroneously installed files

PR:             197232, 204014, 215901
MFH:            2017Q1
Security:       22373c43-d728-11e6-a9a5-b499baebfeaf
2017-01-14 21:57:31 +00:00

11 lines
491 B
C

--- include/my_compare.h.orig 2017-01-12 01:45:16 UTC
+++ include/my_compare.h
@@ -40,7 +40,7 @@ extern "C" {
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)