diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-07-20 08:50:47 +0200 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-07-20 08:50:47 +0200 |
commit | f95192fb06fc37b1d8a3b395c9b1274172f1296f (patch) | |
tree | 0b560b9424b97109b06e1f205219f6d91f2ca9c7 /sql/sql_profile.cc | |
parent | 588a546bf1634612e3b03773e36529330436fc4c (diff) | |
download | mariadb-git-f95192fb06fc37b1d8a3b395c9b1274172f1296f.tar.gz |
Bug#12756017 - PROFILING: SET_THD_PROC_INFO DOES NOT NEED TO CALL DIRNAME_LENGTH EACH TIME
Diffstat (limited to 'sql/sql_profile.cc')
-rw-r--r-- | sql/sql_profile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc index 6c398ca0cb5..5910833612a 100644 --- a/sql/sql_profile.cc +++ b/sql/sql_profile.cc @@ -294,7 +294,7 @@ void QUERY_PROFILE::new_status(const char *status_arg, DBUG_ASSERT(status_arg != NULL); if ((function_arg != NULL) && (file_arg != NULL)) - prof= new PROF_MEASUREMENT(this, status_arg, function_arg, file_arg, line_arg); + prof= new PROF_MEASUREMENT(this, status_arg, function_arg, base_name(file_arg), line_arg); else prof= new PROF_MEASUREMENT(this, status_arg); |