Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-DBIProfile CPAN distribution.

Report information
The Basics
Id: 29667
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-DBIProfile

People
Owner: Nobody in particular
Requestors: GTERMARS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.05



Subject: DBI profile environment var should be UPPER CASE
In your POD, the environment variable to enable DBI profiling should be in UPPER CASE ("DBI_PROFILE"), not Mixed Case ("DBI_Profile"). Patch attached.
Subject: cap-dbiprofile-env-var-case.patch
diff -ru CGI-Application-Plugin-DBIProfile-0.03.orig/DBIProfile.pm CGI-Application-Plugin-DBIProfile-0.03/DBIProfile.pm --- CGI-Application-Plugin-DBIProfile-0.03.orig/DBIProfile.pm 2007-09-28 17:57:19.000000000 -0700 +++ CGI-Application-Plugin-DBIProfile-0.03/DBIProfile.pm 2007-09-29 10:41:34.000000000 -0700 @@ -388,17 +388,17 @@ =head1 CONFIGURATION -To enable, set the DBI_Profile environment variables. For example, in apache: +To enable, set the DBI_PROFILE environment variables. For example, in apache: - SetVar DBI_Profile 2/CGI::Application::Plugin::DBIProfile::Driver + SetVar DBI_PROFILE 2/CGI::Application::Plugin::DBIProfile::Driver SetVar CAP_DBIPROFILE_EXEC 1 Or for mod_perl: - PerlSetVar DBI_Profile 2/CGI::Application::Plugin::DBIProfile::Driver + PerlSetVar DBI_PROFILE 2/CGI::Application::Plugin::DBIProfile::Driver PerlSetVar CAP_DBIPROFILE_EXEC 1 -If you disable it, be sure to unset the DBI_Profile env var, as it will continue to accumulate stats regardless of the setting of CAP_DBIPROFILE_EXEC, you just won't see them. +If you disable it, be sure to unset the DBI_PROFILE env var, as it will continue to accumulate stats regardless of the setting of CAP_DBIPROFILE_EXEC, you just won't see them. =head2 MODES OF OPERATION
Resolved in 0.05