php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35330 PDO creates an unnecessary INI entry.
Submitted: 2005-11-22 13:58 UTC Modified: 2005-11-22 16:04 UTC
From: richard dot quadling at bandvulc dot co dot uk Assigned: wez (profile)
Status: Not a bug Package: PDO related
PHP Version: 5CVS-2005-11-22 (cvs) OS: *
Private report: No CVE-ID: None
 [2005-11-22 13:58 UTC] richard dot quadling at bandvulc dot co dot uk
Description:
------------
The PDO extension creates "pdo.global_value".

http://lxr.php.net/source/pecl/pdo/pdo.c#86 to #97
and
http://lxr.php.net/source/pecl/pdo/php_pdo.h#51 to #53

This global_value is picked up by the documentation as being a variable capable of being entered into the PHP.INI file.

But it is useless.

According to http://lxr.php.net/search?string=global_value

In all the places where global_value applies to INI settings, it is commented out with the exception of the PDO file.

Now, whilst this has absolutely no impact on the PDO library  it DOES mean that specific code has to exist in the documentation processing scripts to filter out this entry.

But fixing it simply involves putting some comments around the lines I've given above.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-22 15:22 UTC] sniper@php.net
Assigned to the maintainer.
 [2005-11-22 16:04 UTC] wez@php.net
This is a duplicate report.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC