Issue Type: Patch Created: 2009-02-23T13:57:40.000+0000 Last Updated: 2009-09-11T10:47:28.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)
Reporter: Brian DeShong (bdeshong) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db
Related issues: Attachments: - library.diff
When using the Zend_Db_Statement_Pdo::bindValue() method, which overrides Zend_Db_Statement::bindValue(), the $_bindParam array never has the parameter and its value added.
I'm attaching a single-line patch here to fix the issue. If Zend_Db_Statement::bindValue() weren't being overridden in Zend_Db_Statement_Pdo, this wouldn't have been a problem.
My primary use case is that, when using Zend_Db_Profiler_Firebug, the bound parameters are showing up as NULL in the table, even though parameters were passed.
I first saw this on 1.7.1, but it's probably existed for quite some time. The attached patch file is against 1.7.5, though. I've got SVN access -- can I just commit this change myself?
Posted by Brian DeShong (bdeshong) on 2009-02-23T14:03:23.000+0000
Correction, the patch file I'm submitting will be against trunk.
Posted by Brian DeShong (bdeshong) on 2009-02-23T14:04:45.000+0000
Patch file for library/Zend/Db/Statement/Pdo.php at trunk's r14150.
Posted by Ralph Schindler (ralph) on 2009-09-11T10:47:23.000+0000
Fixed in r18078 in trunk and r18079 in branch release 1.9
Have you found an issue?
See the Overview section for more details.