|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23270 Error in DB.php error code definitions
Submitted: 2003-04-18 09:25 UTC Modified: 2003-04-18 09:33 UTC
From: jkaufman at wamnet dot com Assigned:
Status: Closed Package: PEAR related
PHP Version: 4CVS-2003-04-18 (stable) OS: Mandrake Linux 9.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jkaufman at wamnet dot com
New email:
PHP Version: OS:


 [2003-04-18 09:25 UTC] jkaufman at wamnet dot com
In the 4-18-03 Stable release, DB.php contains these defs:

define("DB_ERROR_CONNECT_FAILED",     -24);
define("DB_ERROR_NOSUCHDB",           -25);

Note that two of them have the same error number.

The defs should be:

define("DB_ERROR_CONNECT_FAILED",     -24);
define("DB_ERROR_NOSUCHDB",           -26);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-18 09:33 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

this issue is definately solved in the latest beta
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 19:01:27 2021 UTC