On 5/20/17 2:02 PM, Muhammed Muneer wrote:
So when the doc says * The database handle will be private to the current transaction until * the transaction is successfully committed. "the handle being private" only refers to the first mdb_dbi_open.Once this transaction is committed, one doesn't have to call this again in subsequent concurrent transactions and can use this handle.And then this handle won't be private at all. Did I get it right?
Yes. I do this exactly that way as part of my initial setup of my application. Once the transaction is committed, I use the returned handles setup from whatever thread that needs to access the respective database. I never call mdb_dbi_open again after the setup.
Regards, Klaus