~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_lock.c

merge latest from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
ulong table_lock_wait_timeout;
95
95
enum thr_lock_type thr_upgraded_concurrent_insert_lock = TL_WRITE;
96
96
 
97
 
/* The following constants are only for debug output */
98
 
#define MAX_THREADS 100
99
 
#define MAX_LOCKS   100
100
 
 
101
97
 
102
98
LIST *thr_lock_thread_list;                     /* List of threads in use */
103
99
ulong max_write_lock_count= ~(ulong) 0L;
124
120
}
125
121
 
126
122
#ifdef EXTRA_DEBUG
 
123
 
 
124
#define MAX_THREADS 100
 
125
#define MAX_LOCKS   100
127
126
#define MAX_FOUND_ERRORS        10              /* Report 10 first errors */
128
127
static uint32_t found_errors=0;
129
128