Issues

ZF-2409: Empty driver options are not ignored

Issue Type: Bug Created: 2008-01-11T05:53:55.000+0000 Last Updated: 2008-09-02T10:39:03.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Jean-Marc Fontaine (jmf) Assignee: Simon Mundy (peptolab) Tags: - Zend_Db

Related issues: Attachments:

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

<pre class="highlight">

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts