|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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: Fri Sep 24 16:03:41 2021 UTC