Wrong transaction can be passed to external engine
--------------------------------------------------

                 Key: CORE-5645
                 URL: http://tracker.firebirdsql.org/browse/CORE-5645
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library, Engine
    Affects Versions: 4.0 Alpha 1, 3.0.2
            Reporter: Artyom Smirnov


Can't give reproducible code+query right now, but may be description may be 
enough.

In ExtEngineManager.cpp in 
ExtEngineManager::ExternalContextImpl::setTransaction newTransaction obtained 
from tdbb and assigned to internalTransaction if newTransaction is differs from 
internalTransaction, and then externalTransaction created. But if transaction 
were committed, and by chance object of newly created internal transaction will 
have same address, new external transaction will not be created, and thus 
plugin will get wrong transaction.

-- 
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