Fix typos
This commit is contained in:
parent
f6fd78155b
commit
4580d7242a
|
@ -283,7 +283,7 @@ void MDBROTransactionImpl::commit()
|
|||
if (d_txn) {
|
||||
d_parent->decROTX();
|
||||
if (const auto rc = mdb_txn_commit(d_txn)) { // this appears to work better than abort for r/o database opening
|
||||
throw LMDBError("Error comitting transaction: ", rc);
|
||||
throw LMDBError("Error committing transaction: ", rc);
|
||||
}
|
||||
d_txn = nullptr;
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@ template <class Class, typename Type, class Func> struct index_on_function : LMD
|
|||
*
|
||||
* Open issues:
|
||||
* - Perhaps use the separate index concept from multi_index.
|
||||
* - Perhaps get eiter to be of same type so for(auto& a : x) works
|
||||
* - Perhaps get either to be of same type so for(auto& a : x) works
|
||||
* make it more value "like" with unique_ptr.
|
||||
*/
|
||||
template <typename T, typename... I> class LMDB_SAFE_EXPORT TypedDBI {
|
||||
|
|
Loading…
Reference in New Issue