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:
@ -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);
|
||||
|
Reference in New Issue
Block a user