ports/databases/mariadb55-server/files/extra-patch-include_my_compare.h
Florian Smeets 6e9ab4749b Change this port to be more in line with databases/mariadb-server
- Add support for [Open]SSL choice - bundled, system, ports
- Add support for OQGRAPH, PBXT storage engines
- Add MAXKEY options (should stay on if you want your data to be compatible
  with all the other mysql ports in the ports tree)
- Minor fix of patch-sql_CMakeLists.txt

PR:		ports/176405
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
2013-03-07 20:22:40 +00:00

11 lines
526 B
C

--- 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)