summaryrefslogtreecommitdiff
path: root/databases/mysql90-server/files/patch-include_my__compare.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql90-server/files/patch-include_my__compare.h')
-rw-r--r--databases/mysql90-server/files/patch-include_my__compare.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql90-server/files/patch-include_my__compare.h b/databases/mysql90-server/files/patch-include_my__compare.h
new file mode 100644
index 000000000000..3f85d7b82acb
--- /dev/null
+++ b/databases/mysql90-server/files/patch-include_my__compare.h
@@ -0,0 +1,11 @@
+--- include/my_compare.h.orig 2024-04-10 06:26:28 UTC
++++ include/my_compare.h
+@@ -50,7 +50,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 16 /* Max segments for key */
+
+ #define HA_MAX_POSSIBLE_KEY_BUFF (HA_MAX_KEY_LENGTH + 24 + 6 + 6)