diff options
author | unknown <jimw@mysql.com> | 2005-08-09 18:02:36 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-08-09 18:02:36 -0700 |
commit | bea4fbb052d47a1f98d15e5ed7127f39a2e2db54 (patch) | |
tree | cf238206fdfb8b8d2fc9727fef3cde6565dc21ea /sql/sql_test.cc | |
parent | 888a931432cfe4f35744226563aafd5a1545650d (diff) | |
download | mariadb-git-bea4fbb052d47a1f98d15e5ed7127f39a2e2db54.tar.gz |
Rename rest() macro in my_list.h to list_rest(). (Bug #12327)
include/my_list.h:
Rename rest() macro to list_rest().
mysys/list.c:
rest() renamed to list_rest().
mysys/thr_lock.c:
rest() renamed to list_rest().
sql/sql_test.cc:
rest() renamed to list_rest().
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r-- | sql/sql_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc index d992c93f8fc..8af7903a910 100644 --- a/sql/sql_test.cc +++ b/sql/sql_test.cc @@ -271,7 +271,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; |