16.03.2014 19:41, Dimitry Sibiryakov wrote: > > Currently when execution of a statement in why.cpp is delayed from execute to > fetch, > the transaction provided to execute call is saved and later used as is, > without any check. > Nevertheless, it is possible that a user between execute and fetch do > something stupid > like commit. Because old API is actually abandoned, I suggest instead of > adding a check, > silently use fetch transaction in openCursor call.
What is a fetch transaction? Txn handle was never passed through the fetch calls. openCursor() gets a txn pointer from either execute() call directly or indirectly via a cached reference. Dmitry ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel