summaryrefslogtreecommitdiffstats
path: root/database/mysql/big_tables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'database/mysql/big_tables.patch')
-rw-r--r--database/mysql/big_tables.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/database/mysql/big_tables.patch b/database/mysql/big_tables.patch
new file mode 100644
index 0000000000..836ede1dc8
--- /dev/null
+++ b/database/mysql/big_tables.patch
@@ -0,0 +1,19 @@
+diff -Naur mysql-5.1.32.orig/include/my_base.h mysql-5.1.32/include/my_base.h
+--- mysql-5.1.32.orig/include/my_base.h 2009-04-15 21:14:57.795163964 -0700
++++ mysql-5.1.32/include/my_base.h 2009-04-15 21:15:17.947918898 -0700
+@@ -36,6 +36,15 @@
+ #endif /* stdin */
+ #include <my_list.h>
+
++/*
++ Clean workaround for inconsistent BIG_TABLES define issue
++ http://bugs.mysql.com/35346
++ Author: Antony Curtis, patch created by Arjen Lentz
++*/
++
++#undef BIG_TABLES
++#define BIG_TABLES 1
++
+ /* The following is bits in the flag parameter to ha_open() */
+
+ #define HA_OPEN_ABORT_IF_LOCKED 0 /* default */