[odb-users] any significant changes to threading model in 2.5?
NIkolai Marchenko
enmarantispam at gmail.com
Mon Feb 17 17:56:15 EST 2025
I am getting this error:
/home/zeks/odbbuild/libodb-gcc-9/libodb-gcc-9/libodb-2.5.0/odb/transaction.cxx:340:
virtual odb::connection&
odb::transaction_impl::connection(odb::transaction_impl::database_type*):
Assertion `db == 0 || db == &database_' failed.
This happens modestly in thread workers, my code is keeping thread_local
instance of odb::transaction obtained with db->begin(). Do I need to fix
something obvious? This only started happening with 2.5, it was working
fine before.
Note: not ever ODB query fails, in fact all of my tests work as they are
supposed to, but i am suddenly getting a ton of those errors in worker
threads
More information about the odb-users
mailing list