You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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