diff options
author | cmiller@zippy.cornsilk.net <> | 2007-04-27 16:45:01 -0400 |
---|---|---|
committer | cmiller@zippy.cornsilk.net <> | 2007-04-27 16:45:01 -0400 |
commit | 71a0ecee6e2241f6f1fcf8216b37067b5ac0161b (patch) | |
tree | dc6a3a60b71e4a3cbaadb6dc739d736ab8014ac5 /sql/item_func.cc | |
parent | db6eab9bfad52911af5f5aa26c1dd107ad422079 (diff) | |
parent | 9dd7812fec682bc7494623f76338e099f0ffe578 (diff) | |
download | mariadb-git-71a0ecee6e2241f6f1fcf8216b37067b5ac0161b.tar.gz |
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-enterprise-formergecomm
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-unified02
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index dfddbba70f4..2cc524db462 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -3228,7 +3228,7 @@ void debug_sync_point(const char* lock_name, uint lock_timeout) Structure is now initialized. Try to get the lock. Set up control struct to allow others to abort locks */ - thd->proc_info="User lock"; + thd_proc_info(thd, "User lock"); thd->mysys_var->current_mutex= &LOCK_user_locks; thd->mysys_var->current_cond= &ull->cond; @@ -3253,7 +3253,7 @@ void debug_sync_point(const char* lock_name, uint lock_timeout) } pthread_mutex_unlock(&LOCK_user_locks); pthread_mutex_lock(&thd->mysys_var->mutex); - thd->proc_info=0; + thd_proc_info(thd, 0); thd->mysys_var->current_mutex= 0; thd->mysys_var->current_cond= 0; pthread_mutex_unlock(&thd->mysys_var->mutex); @@ -3334,7 +3334,7 @@ longlong Item_func_get_lock::val_int() Structure is now initialized. Try to get the lock. Set up control struct to allow others to abort locks. */ - thd->proc_info="User lock"; + thd_proc_info(thd, "User lock"); thd->mysys_var->current_mutex= &LOCK_user_locks; thd->mysys_var->current_cond= &ull->cond; @@ -3372,7 +3372,7 @@ longlong Item_func_get_lock::val_int() pthread_mutex_unlock(&LOCK_user_locks); pthread_mutex_lock(&thd->mysys_var->mutex); - thd->proc_info=0; + thd_proc_info(thd, 0); thd->mysys_var->current_mutex= 0; thd->mysys_var->current_cond= 0; pthread_mutex_unlock(&thd->mysys_var->mutex); |