1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix up merge. Some macros are now functions. Some functions are

renamed.  Some new THD proc_info states are new.  Directories must be
encountered in make in a specific order, to have symlinks already set.
Move community-server-specific tests into own tests, so that we can 
exempt them from testing on enterprise servers.
This commit is contained in:
cmiller@zippy.cornsilk.net
2007-05-02 14:13:33 -04:00
parent 71a0ecee6e
commit 587290cf00
17 changed files with 55 additions and 38 deletions

View File

@@ -181,9 +181,16 @@ my_bool thd_tablespace_op(const THD *thd)
}
const char *thd_proc_info(THD *thd, const char *info)
const char *set_thd_proc_info(THD *thd, const char *info,
const char *calling_function,
const char *calling_file,
const unsigned int calling_line)
{
const char *old_info= thd->proc_info;
DBUG_PRINT("proc_info", ("%s:%d %s", calling_file, calling_line, info));
#if defined(ENABLED_PROFILING) && defined(COMMUNITY_SERVER)
thd->profiling.status_change(info, calling_function, calling_file, calling_line);
#endif
thd->proc_info= info;
return old_info;
}