Retrieving diagnostics

Issue #44 resolved
Aaron Bartell created an issue

Currently you can retrieve diagnostics via DbStmt::StmtError. I am wondering if this API should be renamed to convey that it can be used for retrieving diagnostics even when there isn't an error. Or maybe retain DbStmt::StmtError as an alias function to a new function named DBStmt::getStmtDiag.

Thoughts?

Comments (3)

  1. mengxumx Account Deactivated

    Added a new API stmt.getStmtDiag() as alias of stmt.stmtError() in commit 6672974

    If no problem, the change will be in next version of idb-connector.

  2. Log in to comment