php / php/pecl-database-ibm_db2

Better binding errors

Open
#72 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.