diff options
author | unknown <jimw@mysql.com> | 2005-08-15 12:37:45 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-15 12:37:45 -0700 |
commit | f6de082b08f07a705a5a701017b8a160adb02fc6 (patch) | |
tree | a82f8fdfe2f9d907eddaa4718eac8f87481e47b3 /mysys/thr_lock.c | |
parent | 219c84faba28171cc04608f826703f5c031d70bc (diff) | |
parent | 000a09baac6db1a2c4d943802d00fa96cf9a5083 (diff) | |
download | mariadb-git-f6de082b08f07a705a5a701017b8a160adb02fc6.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
myisam/myisampack.c:
Auto merged
mysql-test/r/metadata.result:
Auto merged
mysys/list.c:
Auto merged
mysys/thr_lock.c:
Auto merged
sql-common/client.c:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_test.cc:
Auto merged
sql/mysqld.cc:
SCCS merged
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r-- | mysys/thr_lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index c076e8934ad..41266d61b0a 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -1206,7 +1206,8 @@ void thr_print_locks(void) pthread_mutex_lock(&THR_LOCK_lock); puts("Current locks:"); - for (list=thr_lock_thread_list ; list && count++ < MAX_THREADS ; list=rest(list)) + for (list= thr_lock_thread_list; list && count++ < MAX_THREADS; + list= list_rest(list)) { THR_LOCK *lock=(THR_LOCK*) list->data; VOID(pthread_mutex_lock(&lock->mutex)); |