diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-10-30 16:52:12 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-10-30 16:52:12 +0200 |
commit | a30e284f6f5c0de8b44c5e1d195f6b2aaf7ee806 (patch) | |
tree | f019642072be903fd4c5606696e7df32356c28f0 /include | |
parent | d51b72cac30e5d02fde6e9c98c3e91716b19ed04 (diff) | |
download | mariadb-git-a30e284f6f5c0de8b44c5e1d195f6b2aaf7ee806.tar.gz |
changes for mysqladmin debug
and a bug fix for derived tables
include/thr_lock.h:
changes for mysqladmin debug
mysys/thr_lock.c:
changes for mysqladmin debug
sql/lock.cc:
changes for mysqladmin debug
sql/sql_derived.cc:
bug fix for derived ..
sql/sql_parse.cc:
bug fix for derived
sql/sql_test.cc:
changes for mysqladmin debug
Diffstat (limited to 'include')
-rw-r--r-- | include/thr_lock.h | 4 |
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); |