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

                 Key: CORE-5469
                 URL: http://tracker.firebirdsql.org/browse/CORE-5469
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.1, 3.0.0, 4.0 Initial
            Reporter: Dimitry Sibiryakov
         Attachments: alloc2.cpp.7z

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to