freebsd-ports/databases/mariadb-server/files/extra-patch-include__my_handler.h
Bryan Drewery ffb7583e48 - Update mariadb to 5.3.8
- Add MAXKEY option to change default max key length
  from 1000 to 4000
- Convert to new options framework

PR:		ports/171227
Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> (maintainer)
2012-09-13 12:31:47 +00:00

11 lines
527 B
C

--- include/my_handler.h.orig 2012-08-30 21:44:42.000000000 +0200
+++ include/my_handler.h 2012-08-30 21:45:23.000000000 +0200
@@ -34,7 +34,7 @@
But beware the dependency of HA_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)