mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Wrap code specific to the comunity-server in additional CPP #ifdef .
Add a new autoconf paremeter --{en,dis}able-community-features . The
default is disable for enterprise servers.
Though this is a 5.0 tree, it is only to be merged into the 5.0-community
tree and the global 5.1 tree, never to the 5.0-enterprise tree.
This commit is contained in:
@@ -53,7 +53,7 @@ int fill_query_profile_statistics_info(THD *thd, struct st_table_list *tables, I
|
||||
#define PROFILE_ALL (~0)
|
||||
|
||||
|
||||
#ifndef ENABLED_PROFILING
|
||||
#if !defined(ENABLED_PROFILING) || !defined(COMMUNITY_SERVER)
|
||||
|
||||
# define thd_proc_info(thd, msg) do { (thd)->proc_info= (msg); } while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user