[odb-users] queries during results iterations

Boris Kolpackov boris at codesynthesis.com
Mon Apr 20 09:44:52 EDT 2015

Hi Adnan,

Adnan RIHAN <axel50397 at gmail.com> writes:

> odb::transaction t(this->m_db->begin(), !odb::transaction::has_current());

I don't see anything abvious but then again all your code is obscured
by the multitude of wrappers. Perhaps one of these wrappers (that you
call from the callback) commits the current transaction. After all,
you need the above "start a transaction and make it current unless
one is already in progress" hack for some reason...


More information about the odb-users mailing list