Open sidnt opened 4 years ago
typedef unsigned int
The database handle will be private to the current transaction until the transaction is successfully committed. After a successful commit the handle will reside in the shared environment, and may be used by other transactions. If the transaction is aborted the handle will be closed automatically.
The database handle will be private to the current transaction until the transaction is successfully committed.
After a successful commit the handle will reside in the shared environment, and may be used by other transactions.
If the transaction is aborted the handle will be closed automatically.
does ^ mean that if we abort a txn, we'll have to open the dbi-handles that were closed automatically?
A database handle denotes the name and parameters of a database, independently of whether such a database exists. ref Databases must always be opened with the same flags once created. ref
A database handle denotes the name and parameters of a database, independently of whether such a database exists. ref
Databases must always be opened with the same flags once created. ref
typedef unsigned int
(unlike env or txn handles, which are structs)does ^ mean that if we abort a txn, we'll have to open the dbi-handles that were closed automatically?
test what happens when we use a crud operation anyway, using a dbi-handle whose associated database was closed by a transaction that aborted?