On 05/30/2014 05:12 AM, lev(dot)bukovski(at)teliasonera(dot)com wrote:
> I do rollback after any error and commit even after rollback :)
So what does the Postgres log show during this?
You have mentioned errors, but you have not said exactly what errors.
So what are the actual errors?
>
> bool RollBack()
> {
> RETCODE rc=SQLEndTran(SQL_HANDLE_DBC, hdbc, SQL_ROLLBACK);
> if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO)
> {
> return false;
>
> }
> return true;
> }
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com