Issue Details (XML | Word | Printable)

Key: CORE-5469
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Dimitry Sibiryakov
Votes: 0
Watchers: 2

If you were logged in you would be able to see more operations.
Firebird Core

Statement handles allocated with isc_dsql_alloc_statement2() are not cleaned on detach

Created: 25/Jan/17 03:43 PM   Updated: 25/Nov/17 08:17 PM
Component/s: API / Client Library
Affects Version/s: 4.0 Initial, 3.0.0, 3.0.1
Fix Version/s: 3.0.2, 4.0 Alpha 1

File Attachments: 1. File alloc2.cpp.7z (0.7 kB)

QA Status: Cannot be tested

 Description  « Hide
According to API Guide, "the 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". Starting from Firebird 3 handles aren't reset because of missing piece of code in IscStatement.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dimitry Sibiryakov added a comment - 25/Jan/17 03:44 PM
Test program is attached.