Issues

ZF-5329: Mysqli Statement Tests fail

Issue Type: Unit Tests: Problem Created: 2008-12-20T05:12:59.000+0000 Last Updated: 2011-12-08T07:55:51.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Mark Evans (sparky) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Db_Adapter_Mysqli

Related issues: - ZF-6058

Attachments: - ZF-5329.patch

Description

  1. testStatementBindParamByName(Zend_Db_Statement_MysqliTest) Failed asserting that two strings are equal. expected string difference < xxxxxxxxx????> got string

  2. testStatementBindValueByName(Zend_Db_Statement_MysqliTest) Failed asserting that two strings are equal. expected string difference < xxxxxxxxx????> got string

This is caused because mysqli not supporting named parameters so the code if ($this->_adapter->supportsParameters('named') === false) is evalaluated to true and the Zend_Db_Statement_Exception is thrown.

Comments

Posted by Mark Evans (sparky) on 2008-12-20T05:16:21.000+0000

Corrected the expected string in the unit test as the funcationality looks correct

Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-11T23:33:46.000+0000

Is this still alive?

Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-12T05:00:10.000+0000

It duplicates ZF-6058

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