7d32d3e01d
* CMake configuration support on Linux now provides a boolean ENABLE_GCOV option to control whether to include support for gcov. * InnoDB now permits concurrent reads while creating a secondary index. * Client programs now display more information for SSL errors to aid in diagnosis and debugging of connection problems. * In the audit plugin interface, the event_class member was removed from the mysql_event_general structure and the calling sequence for the notification function changed. Originally, the second argument was a pointer to the event structure. The function now receives this information as two arguments: an event class number and a pointer to the event. Corresponding to these changes, MYSQL_AUDIT_INTERFACE_VERSION was increased to 0x0300. * The plugin_audit.h header file, and the NULL_AUDIT example plugin in the plugin/audit_null directory have been modified per these changes. See Section 21.2.4.7, “Writing Audit Plugins”. * Bug fixes.
15 lines
661 B
C
15 lines
661 B
C
$NetBSD: patch-include_myisam.h,v 1.2 2011/07/08 09:32:07 adam Exp $
|
|
|
|
Adjust MI_MAX_KEY_LENGTH x4.
|
|
|
|
--- include/myisam.h.orig 2010-02-04 11:37:06.000000000 +0000
|
|
+++ include/myisam.h
|
|
@@ -49,7 +49,7 @@ extern "C" {
|
|
The following defines can be increased if necessary.
|
|
But beware the dependency of MI_MAX_POSSIBLE_KEY_BUFF and MI_MAX_KEY_LENGTH.
|
|
*/
|
|
-#define MI_MAX_KEY_LENGTH 1000 /* Max length in bytes */
|
|
+#define MI_MAX_KEY_LENGTH 4000 /* Max length in bytes */
|
|
#define MI_MAX_KEY_SEG 16 /* Max segments for key */
|
|
|
|
#define MI_MAX_KEY_BUFF (MI_MAX_KEY_LENGTH+MI_MAX_KEY_SEG*6+8+8)
|