Fix typos

This commit is contained in:
Martchus 2022-03-01 00:42:50 +01:00
parent f6fd78155b
commit 4580d7242a
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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 {