zendframework/zend-db

db2_execute call fails if parameterContainer returns empty array

Opened this issue · 1 comments

$response = db2_execute($this->resource, $this->parameterContainer->getPositionalArray());

db2_execute() will fail with error "db2_execute(): Param count incorrect" when an empty array is provided as the 2nd argument.

This makes calling DB2 stored procedures impossible, among other things.

This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at laminas/laminas-db#28.