summaryrefslogtreecommitdiff
path: root/include/thr_lock.h
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-10-30 16:52:12 +0200
committerSinisa@sinisa.nasamreza.org <>2002-10-30 16:52:12 +0200
commit5fbd7b63c5852ceff5558981b56f3b16334223d5 (patch)
treef019642072be903fd4c5606696e7df32356c28f0 /include/thr_lock.h
parent3c570209df399cc24d1e5e454a8bc152ca284a81 (diff)
downloadmariadb-git-5fbd7b63c5852ceff5558981b56f3b16334223d5.tar.gz
changes for mysqladmin debug
and a bug fix for derived tables
Diffstat (limited to 'include/thr_lock.h')
-rw-r--r--include/thr_lock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index 7459849cb04..cf5b0cce4bc 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -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);