ID:               41522
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mark-phpbugs at vectrex dot org dot uk
-Status:           Assigned
+Status:           Closed
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.2.2
 Assigned To:      abies
 New Comment:

Fixed in CVS (PHP_5_3 branch)


Previous Comments:
------------------------------------------------------------------------

[2007-10-12 20:26:01] Lars dot Westermann at privat dot dk

See comment for bug #39822, where a fix is suggested.

Greetings,
Lars

------------------------------------------------------------------------

[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

Reply via email to