summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-15 12:37:45 -0700
committerjimw@mysql.com <>2005-08-15 12:37:45 -0700
commita3eaf4eec2c5b8e40c34f6f3aa78e0138483ef0b (patch)
treea82f8fdfe2f9d907eddaa4718eac8f87481e47b3 /sql/sql_test.cc
parent8589f14d450fb3d50915da2a97af7a7be48e1bb5 (diff)
parentcd0f3596be07fde993780dbad797e0c99436dae4 (diff)
downloadmariadb-git-a3eaf4eec2c5b8e40c34f6f3aa78e0138483ef0b.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index 722568e7f53..ddd0f3fe162 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -370,7 +370,7 @@ static void display_table_locks(void)
VOID(my_init_dynamic_array(&saved_table_locks,sizeof(TABLE_LOCK_INFO),open_cache.records + 20,50));
VOID(pthread_mutex_lock(&THR_LOCK_lock));
- for (list=thr_lock_thread_list ; list ; list=rest(list))
+ for (list= thr_lock_thread_list; list; list= list_rest(list))
{
THR_LOCK *lock=(THR_LOCK*) list->data;