Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#8 Add trigger_error warning to execute method

closed-accepted
Nyk Cowham
5
2003-04-03
2003-03-17
Sandy Smith
No

Currently, the collections class's execute() method
does test if ADOdb successfully executed a query.
However, it only returns a boolean based on the result.
It would aid application debugging to trigger an
E_USER_WARNING when a query fails (additionally, of
course, all calls to the execute() function within the
class and at the application level should also trap and
trigger warnings).

In fact, this would be a nice goal for all calls to
ADOdb in the Syntax framework, to trap and trigger an
error so a trace up the food chain can be made and the
bad input identified.

Discussion

  • Nyk Cowham
    Nyk Cowham
    2003-04-03

    Logged In: YES
    user_id=17438

    ADOdb can be set to call PEAR raiseError and we will
    probably be making PEAR::Error our standard error raising
    mechanism. This is in the roadmap, so please be patient.

     
  • Nyk Cowham
    Nyk Cowham
    2003-04-03

    • status: open --> closed-accepted