1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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
This commit is contained in:
Michael Widenius
2011-12-02 00:24:58 +02:00
parent 2f9734172f
commit ffab2a90dc
3 changed files with 9 additions and 2 deletions

View File

@@ -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 */