Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The dropped(i.e. freed with SQLFreeHandle or SQLFreeStmt(SQL_DROP)) statement should have used server side prepared statement. The other statement could have used resultset streaming or have multiple resultset and not all of them have been iterated with SQLMoreResults. Dropping such prepared statement requires sending command to the server and function doing that did not check if there is other statement that hasn't finished fetching results, and sent command to the server. That would break the protocol.