php / php/pecl-database-ibm_db2
Better binding errors
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 26
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Currently, you just get i.e. "Binding Error 2" with minimal context. It should also honour the log verbose option as well, this will probably involve calling _php_db2_check_sql_errors at those sites or in the functions that they call.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the binding-error sites and _php_db2_check_sql_errors; first trace how the log verbose option is handled in those functions. Done means binding errors provide more context and honor the verbose logging option, with the relevant error-checking behavior applied consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100