[odb-users] mysql crash in multithreaded application

Boris Kolpackov boris at codesynthesis.com
Mon Jun 19 12:44:31 EDT 2017


Lukas Obermann <obermann.lukas at gmail.com> writes:

> Is has_current() considering the thread it currently is in? Means
> can it be used to determine if the current thread has a transaction
> already?

Yes, it can *only* be used to determine if the current thread has an
active transaction (it uses TLS to store the current pointer).

Boris



More information about the odb-users mailing list