Bug #44651 "have_community_features" variable should be renamed "have_profiling"
Submitted: 4 May 2009 19:50 Modified: 12 Nov 2009 20:21
Reporter: Sheeri Cabral (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Options Severity:S3 (Non-critical)
Version:5.1, 6.0 OS:Any
Assigned to: Jon Olav Hauglid CPU Architecture:Any
Tags: have_community_features
Triage: Triaged: D3 (Medium)

[4 May 2009 19:50] Sheeri Cabral
Description:
http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html does not document have_community_features (and in fact, according to both the site search and a Google search of dev.mysql.com (http://www.google.com/search?q=site%3Adev.mysql.com+have_community_features ).

This feature should be documented, even if it's documented as "unused".

I've posted a short article about this at <A HREF=http://www.pythian.com/news/2333/i-apparently-have_community_features>http://www.pythian.com/news/2333/i-apparently-have_community_features</A>

How to repeat:
SHOW GLOBAL VARIABLES LIKE 'have_community_features';

Go to http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html and view the lack of documentation.

Suggested fix:
Document the feature.
[4 May 2009 20:22] Sveta Smirnova
Thank you for the report.

Verified as described.
[5 May 2009 9:53] Sergei Golubchik
shouldn't we just remove it ?

If we want to have profiling optional, 'have_profiling' would be a more appropriate name anyway (and Sheeri would know what it means without asking :)
[4 Jun 2009 14:00] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/75620

2791 Jon Olav Hauglid	2009-06-04
      Bug #44651 "have_community_features" variable should be renamed 
                 "have_profiling"
      
      Variable renamed. 
      Mysql-test files refering to the variable also renamed.
[10 Jun 2009 7:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/75980

2798 Jon Olav Hauglid	2009-06-10
      Bug #44651 "have_community_features" variable should be renamed 
                 "have_profiling"
      
      1) Renamed have_community_features server system variable to have_profiling.
      2) Removed eable-community-features configure option and ENABLE_COMMUNITY_FEATURES macro.
      3) Removed COMMUNITY_SERVER macro and replaced its usage by ENABLED_PROFILING .
[18 Jun 2009 6:48] Bugs System
Pushed into 5.4.4-alpha (revid:alik@sun.com-20090617073019-azsawauatv99124t) (version source revid:jon.hauglid@sun.com-20090610075529-2au37kus25i0s7rb) (merge vers: 5.4.4-alpha) (pib:11)
[26 Jun 2009 18:55] Paul Dubois
Noted in 5.4.4 changelog.

The have_community_features system variable was renamed to
have_profiling.

Previously, to enable profiling, it was necessary to run configure
with the --enable-community-features and --enable-profiling options.
Now only --enable-profiling is needed.
[12 Aug 2009 22:30] Paul Dubois
Noted in 5.4.2 changelog because next 5.4 version will be 5.4.2 and not 5.4.4.
[15 Aug 2009 1:50] Paul Dubois
Ignore previous comment about 5.4.2.
[9 Oct 2009 13:59] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/86374

2897 Jon Olav Hauglid	2009-10-09
      Bug #44651 "have_community_features" variable should be renamed 
                 "have_profiling"
      
      1) Renamed have_community_features server system variable to
      have_profiling.
      2) Removed eable-community-features configure option and
      ENABLE_COMMUNITY_FEATURES macro.
      3) Removed COMMUNITY_SERVER macro and replaced its usage by 
      ENABLED_PROFILING.
      
      Only --enable-profiling is now needed to enable profiling.
      It was the only existing "community feature", so there was
      no need for both configure options.
      
      Using --enable-community-features will give a warning message
      since it no longer exists.
[9 Oct 2009 14:00] Jon Olav Hauglid
Pushed to mysql-next-mr-runtime (version 5.5)
[9 Oct 2009 23:40] Paul Dubois
Noted in 5.5.0, 6.0.14 changelogs.
[29 Oct 2009 16:44] Paul Dubois
See also Bug#48344.
[3 Nov 2009 7:17] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091102151658-j9o4wgro47m5v84d) (version source revid:dlenev@mysql.com-20091009152620-weybanb3xbbxxs6h) (merge vers: 6.0.14-alpha) (pib:13)
[12 Nov 2009 8:20] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:mikael@mysql.com-20091103113702-p61dlwc6ml6fxg18) (merge vers: 5.5.0-beta) (pib:13)