Prepared statements: don't send exception during close if exception was already sent during execute

Details

Detail name Value
Changelog Number 6370
Type Improvement
Status Resolved
Fix Versions Exasol 6.0.11
Resolution Date 2018-07-25

Old behavior
If an exception occurs during execution of a prepared statement, the database will send this exception to the client. The client will receive this exception again as a reply for the close command for this prepared statement.

New behavior
If an exception occurs during execution of a prepared statement, the database will send this exception to the client. The client won't receive this exception as a reply for the close command for this prepared statement.

Changed behavior

*Old behavior* If an exception occurs during execution of a prepared statement, the database will send this exception to the client. The client will receive this exception again as a reply for the close command for this prepared statement. *New behavior* If an exception occurs during execution of a prepared statement, the database will send this exception to the client. The client won't receive this exception as a reply for the close command for this prepared statement.