ZF-2409: Empty driver options are not ignored
Description
When driver options passed to the Zend_Db::factory() method is an empty string it is not ignored but instead type casted to an array containing an empty string at index 0 which cause PDO to disabled autocommit.
The problem lies in the line 191 of the Zend_Db_Adapter_Abstract class.
The line is
and should be changed to
Comments
Posted by Wil Sinclair (wil) on 2008-02-20T13:56:01.000+0000
Assigning and unsetting fix version priority.
Posted by Simon Mundy (peptolab) on 2008-05-30T18:53:46.000+0000
Resolved in r9577
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:03.000+0000
Updating for the 1.6.0 release.