summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorDmitry Lenev <dlenev@mysql.com>2010-08-06 15:29:37 +0400
committerDmitry Lenev <dlenev@mysql.com>2010-08-06 15:29:37 +0400
commita6c00c276ed8e7f2e30301a414533891a8cf2b5d (patch)
tree23ceb8a5e2e80b264d2b9207503b7d451c924fb8 /mysys
parent6a447d1047fc4fe3b4ed432461d94e709650d5aa (diff)
downloadmariadb-git-a6c00c276ed8e7f2e30301a414533891a8cf2b5d.tar.gz
Part of fix for bug#52044 "FLUSH TABLES WITH READ LOCK and
FLUSH TABLES <list> WITH READ LOCK are incompatible" to be pushed as separate patch. Replaced thread state name "Waiting for table", which was used by threads waiting for a metadata lock or table flush, with a set of names which better reflect types of resources being waited for. Also replaced "Table lock" thread state name, which was used by threads waiting on thr_lock.c table level lock, with more elaborate "Waiting for table level lock", to make it more consistent with other thread state names. Updated test cases and their results according to these changes. Fixed sys_vars.query_cache_wlock_invalidate_func test to not to wait for timeout of wait_condition.inc script.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/thr_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index 7ba0490cb29..5d870bbc151 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -428,7 +428,7 @@ wait_for_lock(struct st_lock_list *wait, THR_LOCK_DATA *data,
thread_var->current_cond= cond;
data->cond= cond;
- old_proc_info= proc_info_hook(NULL, "Table lock",
+ old_proc_info= proc_info_hook(NULL, "Waiting for table level lock",
__func__, __FILE__, __LINE__);
set_timespec(wait_timeout, lock_wait_timeout);