diff options
author | cmiller@zippy.cornsilk.net <> | 2007-01-03 17:15:10 -0500 |
---|---|---|
committer | cmiller@zippy.cornsilk.net <> | 2007-01-03 17:15:10 -0500 |
commit | 10cdf90bd37fe5eb2cb22398520f3c6e8cb693ae (patch) | |
tree | 3ccc1d229c4d2704fc85d800e206032a74a7a2e0 /sql/repl_failsafe.cc | |
parent | f8bd5d312ba8bcbbaacd7cc1f2a74e80a1aacae3 (diff) | |
download | mariadb-git-10cdf90bd37fe5eb2cb22398520f3c6e8cb693ae.tar.gz |
Bug#24795: Add SHOW PROFILE
Patch contributed by Jeremy Cole. CLA received Oct 2006 by Kaj Arnö
Add rudimentary query profiling support.
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index 21e46e71825..e085ebc77b2 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -92,7 +92,7 @@ static int init_failsafe_rpl_thread(THD* thd) if (thd->variables.max_join_size == HA_POS_ERROR) thd->options|= OPTION_BIG_SELECTS; - thd->proc_info="Thread initialized"; + THD_PROC_INFO(thd, "Thread initialized"); thd->version=refresh_version; thd->set_time(); DBUG_RETURN(0); @@ -598,7 +598,7 @@ pthread_handler_t handle_failsafe_rpl(void *arg) { bool break_req_chain = 0; pthread_cond_wait(&COND_rpl_status, &LOCK_rpl_status); - thd->proc_info="Processing request"; + THD_PROC_INFO(thd, "Processing request"); while (!break_req_chain) { switch (rpl_status) { @@ -942,7 +942,7 @@ bool load_master_data(THD* thd) goto err; } } - thd->proc_info="purging old relay logs"; + THD_PROC_INFO(thd, "purging old relay logs"); if (purge_relay_logs(&active_mi->rli,thd, 0 /* not only reset, but also reinit */, &errmsg)) |