summaryrefslogtreecommitdiff
path: root/databases/mariadb100-client/files/patch-include_my_compare.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mariadb100-client/files/patch-include_my_compare.h')
-rw-r--r--databases/mariadb100-client/files/patch-include_my_compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mariadb100-client/files/patch-include_my_compare.h b/databases/mariadb100-client/files/patch-include_my_compare.h
new file mode 100644
index 000000000000..ad948aa1b5db
--- /dev/null
+++ b/databases/mariadb100-client/files/patch-include_my_compare.h
@@ -0,0 +1,11 @@
+--- 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)