1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

changes for mysqladmin debug

and a bug fix for derived tables
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-10-30 16:52:12 +02:00
parent 3c570209df
commit 5fbd7b63c5
6 changed files with 122 additions and 8 deletions

View File

@ -74,6 +74,7 @@ typedef struct st_thr_lock_data {
enum thr_lock_type type;
ulong thread_id;
void *status_param; /* Param to status functions */
void *debug_print_param;
} THR_LOCK_DATA;
struct st_lock_list {
@ -97,6 +98,9 @@ typedef struct st_thr_lock {
} THR_LOCK;
extern LIST *thr_lock_thread_list;
extern pthread_mutex_t THR_LOCK_lock;
my_bool init_thr_lock(void); /* Must be called once/thread */
void thr_lock_init(THR_LOCK *lock);
void thr_lock_delete(THR_LOCK *lock);