summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-05-15 12:29:41 +0300
committerGeorgi Kodinov <joro@sun.com>2009-05-15 12:29:41 +0300
commit812d2559b5e91201d02d3bb635b340cc2baccadb (patch)
treec3b41def997782186e86266e0ac9001b6eca7c81 /sql/item_func.cc
parentd68ea7d5198bc73a5c9f19a09afa7c4dd691cd37 (diff)
parentdbf8997b40a34ab01a57c0fe37c5ae9e345659fc (diff)
downloadmariadb-git-812d2559b5e91201d02d3bb635b340cc2baccadb.tar.gz
merged 5.0-main -> 5.0-bugteam
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 64d5030ad4a..46e0f30d94e 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -3414,7 +3414,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;
@@ -3439,7 +3439,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);
@@ -3526,7 +3526,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;
@@ -3569,7 +3569,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);