selvaganesang commented on issue #1844: [TRAFODION-2311] Avoid logging error 
8605 and 8609 during SQLEndTrans if no trans active
URL: https://github.com/apache/trafodion/pull/1844#issuecomment-506087714
 
 
   The ODBC specification says the following when SQLEndTran API is called 
   
   For drivers and data sources that support transactions, calling SQLEndTran 
with either SQL_COMMIT or SQL_ROLLBACK when no transaction is active returns 
SQL_SUCCESS (indicating that there is no work to be committed or rolled back) 
and has no effect on the data source.
   
   When a driver is in autocommit mode, the Driver Manager does not call 
SQLEndTran in the driver. SQLEndTran always returns SQL_SUCCESS regardless of 
whether it is called with a CompletionType of SQL_COMMIT or SQL_ROLLBACK.
   
   Hence this change can be merged.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to