
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
OS-independent
|
|
| Planning Status: |
Unspecified
|
|
When releasing statement with isc_dsql_free_statement(), AV happens in client library
|
|
Description
|
When releasing statement with isc_dsql_free_statement(), AV happens in client library |
Show » |
|
Taking into an account, that "isc_dsql_allocate_statement2()
function is similar to the isc_dsql_alloc_statement() function except that
statement handles allocated using isc_dsql_allocate_statement2() are
automatically reset to NULL when the database under which they are allocated
is detached" (taken from ib6.0 beta docs), this is close to violation of API rules. On the other hand, nothing is said about isc_dsql_free_statement(), and if IBO itself releases all statements before detach, it works correctly. (Though there is no use in isc_dsql_allocate_statement2() instead of isc_dsql_allocate_statement() in that case.)
Legacy behavior of isc_dsql_free_statement() is restored.