microsoft / ODBC-Specification

Microsoft ODBC Specification
Other
121 stars 40 forks source link

SQLGetNestedHandle description wording #74

Closed matthew-wozniczka closed 7 years ago

matthew-wozniczka commented 7 years ago

Section 6.2.1 states:

A subsequent call to SQLFreeHandle for a statement handle implicitly closes and frees all child statement handles.

I think this should be changed to something like

When a statement handle is closed, all of its child statement handles are implicitly closed.

since SQLFreeHandle isn't the only way a statement handle can be closed (SQLDisconnect).

Also, I assume this works like SQLDisconnect, in that it will fail if any of those child nested handles are in the async state, correct?

mikepizzo commented 7 years ago

Agreed; good clarification.