Issues

ZF-12049: Zend_Db_Statement_Db2 _bindParam function uses the wrong variable name that's passed to db2_bind_param

Issue Type: Bug Created: 2012-02-09T19:48:17.000+0000 Last Updated: 2012-02-22T22:18:35.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: David Dressler (davelhs03) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Db

  • Zend_Db_Statement_Db2
  • db2_bind_param

Related issues: Attachments:

Description

On line 101 of Zend_Db_Statement_Db2 $position is used instead of $parameter. $position is not defined and causes the $parameter to never be passed to the db2_bind_param function.

Comments

Posted by Adam Lundrigan (adamlundrigan) on 2012-02-22T21:59:10.000+0000

Fixed in trunk r24625 Merged to release-1.11 in r24626

Posted by Adam Lundrigan (adamlundrigan) on 2012-02-22T22:18:02.000+0000

I did not issue a ZF2 PR, as arrival of [~ralph]'s refactored Zend\Db is imminent, and no equivalent to this class exists there.

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