Skip to content

odbc-api-v24.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Apr 14:08
· 104 commits to main since this release

Added

  • If it is clear at compile time that a statement handle would be freed right after being closed, it is no longer explicitly closed. This safes a call to the ODBC API while still freeing all resources. It also can help sidestep problematic driver behaviour if errors occurr during SQLCloseCursor.

Changed

  • [breaking] Removed Cursor::close because it could violate invariants of statements if it failed for cursors which did not own the statement.
  • [breaking] Remove superfluous implementation of AsStatementRef for &mut StatementImpl
  • [breaking] Cursor and Preallocated statement type now requires Statement instead of AsStatementRef