summaryrefslogtreecommitdiff
path: root/sql/sql_profile.h
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-05-05 17:03:23 -0400
committerChad MILLER <chad@mysql.com>2009-05-05 17:03:23 -0400
commit4822696ecb7302efc543e0be109f1c2a8f1bdf4e (patch)
tree14698de1876a7bea69d52b7f7ddaedbf0877551f /sql/sql_profile.h
parent14f923c0286588f9f391a2fda8b9fab5a4e2953c (diff)
downloadmariadb-git-4822696ecb7302efc543e0be109f1c2a8f1bdf4e.tar.gz
Pull 5.1 treatment of community features into 5.0.
Diffstat (limited to 'sql/sql_profile.h')
-rw-r--r--sql/sql_profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_profile.h b/sql/sql_profile.h
index 022422fbb81..2483cb3cb6a 100644
--- a/sql/sql_profile.h
+++ b/sql/sql_profile.h
@@ -54,7 +54,7 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table);
#define PROFILE_ALL (~0)
-#if defined(ENABLED_PROFILING)
+#if defined(ENABLED_PROFILING) && defined(COMMUNITY_SERVER)
#include "mysql_priv.h"
#ifdef HAVE_SYS_RESOURCE_H