summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-12-02 00:24:58 +0200
committerMichael Widenius <monty@askmonty.org>2011-12-02 00:24:58 +0200
commitffab2a90dcf6aec84d95d5de24c55fc536c96968 (patch)
tree9299048b175a9fdfb9f34fc982f395318439e46c /mysys/thr_lock.c
parent2f9734172f2552c6fdb0483e33423a92acd9285b (diff)
downloadmariadb-git-ffab2a90dcf6aec84d95d5de24c55fc536c96968.tar.gz
Patch to get MariaDB to compile on CYGWIN; By Guenter Knauf
Increased number of locks in thr_lock (used only when testing) include/my_global.h: Patch for CYGWIN mysys/my_getsystime.c: Patch for CYGWIN mysys/thr_lock.c: Increase number of locks for testing
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index ac70282c050..f50e9818e74 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -98,8 +98,8 @@ ulong table_lock_wait_timeout;
enum thr_lock_type thr_upgraded_concurrent_insert_lock = TL_WRITE;
/* The following constants are only for debug output */
-#define MAX_THREADS 100
-#define MAX_LOCKS 100
+#define MAX_THREADS 1000
+#define MAX_LOCKS 1000
LIST *thr_lock_thread_list; /* List of threads in use */