php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62288 Decouple mysql backend from sqlite3
Submitted: 2012-06-11 07:43 UTC Modified: 2012-06-13 21:47 UTC
From: HMWiesinger at gmx dot at Assigned: patrickallaert (profile)
Status: Closed Package: APM (PECL)
PHP Version: 5.4.3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: HMWiesinger at gmx dot at
New email:
PHP Version: OS:

 

 [2012-06-11 07:43 UTC] HMWiesinger at gmx dot at
Description:
------------
Currently, if the path for the sqlite database does not exist or is not writable, 
apm is disabled completely, even if the sqlite backend is disabled.
This means that even though mysql is enabled, no error is logged there.

Better would be to handle the backends separately and only disable the ones that 
cannot be used, or at least don't check for the sqlite database path usability if 
the sqlite backend is disabled.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-11 07:45 UTC] patrickallaert@php.net
-Assigned To: +Assigned To: patrickallaert
 [2012-06-13 21:42 UTC] patrickallaert@php.net
Automatic comment from SVN on behalf of patrickallaert
Revision: http://svn.php.net/viewvc/?view=revision&revision=326164
Log: Fixed #62288: Decouple mysql backend from sqlite3
 [2012-06-13 21:47 UTC] patrickallaert@php.net
-Status: Assigned +Status: Closed
 [2012-06-13 21:47 UTC] patrickallaert@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Fixed in SVN / Github.

Will be part of APM 1.1.0beta5
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC