Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db2_execute call fails if parameterContainer returns empty array #28

Closed
weierophinney opened this issue Dec 31, 2019 · 1 comment
Closed

Comments

@weierophinney
Copy link
Member

https://github.com/zendframework/zend-db/blob/58271ef881bb310b0c029d1cfd17d8c35d4aa915/src/Adapter/Driver/IbmDb2/Statement.php#L236

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.


Originally posted by @crimsonkissaki at zendframework/zend-db#328

@weierophinney
Copy link
Member Author

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee.
If you have a security issue, please follow our security reporting guidelines.
If you wish to take on the role of maintainer, please nominate yourself

If you are looking for an actively maintained package alternative, we recommend:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant