ID: 41522 Updated by: [EMAIL PROTECTED] Reported By: mark-phpbugs at vectrex dot org dot uk -Status: Open +Status: Assigned Bug Type: PDO related Operating System: Linux PHP Version: 5.2.2 -Assigned To: +Assigned To: abies
Previous Comments: ------------------------------------------------------------------------ [2007-05-28 17:08:09] mark-phpbugs at vectrex dot org dot uk Description: ------------ The firebird PDO driver returns nothing, or null if it fails to connect - this is contradictory to what the PDO documentation says (should throw PDOException) and the behaviour of the other drivers. Reproduce code: --------------- $conn = new PDO("firebird:dbname=localhost:test.fdb", 'SYSDBA','wrong password'); Expected result: ---------------- It should throw a PDOException, ideally with an explanation or error code. Actual result: -------------- Returns NULL with no errors or warnings even with error_reporting(E_ALL) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41522&edit=1