rename MutTxn to GenericMutTxn
[?]
9FZSPF6U3oQmpTwxvCnadrHKQEqTkEpnrDg1UWw9Zo9E
Oct 25, 2021, 10:40 PM
NW4S4ZCCT7356356Z46YXQNWL6MTKZY4CGRNZDCHIHUFANYZLN6QCDependencies
- [2]
EDTFMMZWadd dummy RcEntry trait for rc tree key - [3]
OP6SVMODResetting history - [4]
XEU2QVLCDebugging after plugging this into Pijul - [5]
YATBB4O7run cargo fmt - [6]
YXKP4AIWNew file locks, with multiple sets of free pages - [7]
YWFYZNLZCleanup + inter-process concurrency - [8]
TJ2R4HAZAccessing the root pages (unsafely, of course) - [9]
YDHYZA77Adding the RootPage trait to access the raw bytes of a root page (needed in libpijul) - [10]
ECPAFJSBadd env_borrow for Txn and MutTxn - [11]
WS4ZQM4RDebugging, tests, etc. - [12]
KMT3MF5NDrop a database - [13]
E4MD6T3LProofreading and commenting of this crate (massive bug fixes included) - [14]
3QM7P3RRWriting the reference counts when committing - [15]
W2MIZD5BSingle file databases + CRC for the root pages (checking the other pages makes everything very slow)
Change contents
- replacement in "sanakirja/src/environment/muttxn.rs" at line 5
impl<E: Borrow<Env>, T, R: RcEntry> std::fmt::Debug for MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> std::fmt::Debug for GenericMutTxn<E, T, R> { - edit in "sanakirja/src/environment/muttxn.rs" at line 12
impl RcEntry for u64 {} - replacement in "sanakirja/src/environment/muttxn.rs" at line 16
pub struct MutTxn<E: Borrow<Env>, T, R: RcEntry> {pub struct GenericMutTxn<E: Borrow<Env>, T, R: RcEntry> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 55
impl<E: Borrow<Env>, T, R: RcEntry> MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 64
impl<E: Borrow<Env>, T, R: RcEntry> Drop for MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> Drop for GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 86
impl<'a, E: Borrow<Env>, T, R: RcEntry> Commit for MutTxn<E, &'a mut MutTxn<E, T, R>, R> {impl<'a, E: Borrow<Env>, T, R: RcEntry> Commit for GenericMutTxn<E, &'a mut GenericMutTxn<E, T, R>, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 151
pub fn mut_txn_begin<E: Borrow<Self>, R: RcEntry>(env: E) -> Result<MutTxn<E, (), R>, Error> {pub fn mut_txn_begin<E: Borrow<Self>, R: RcEntry>(env: E) -> Result<GenericMutTxn<E, (), R>, Error> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 182
Ok(MutTxn {Ok(GenericMutTxn { - replacement in "sanakirja/src/environment/muttxn.rs" at line 216
impl<E: Borrow<Env>, R: RcEntry> Commit for MutTxn<E, (), R> {impl<E: Borrow<Env>, R: RcEntry> Commit for GenericMutTxn<E, (), R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 340
impl<E: Borrow<Env>, T, R: RcEntry> MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 451
impl<E: Borrow<Env>, T, R: RcEntry> sanakirja_core::AllocPage for MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> sanakirja_core::AllocPage for GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 534
impl<E: Borrow<Env>, A, R: RcEntry> MutTxn<E, A, R> {impl<E: Borrow<Env>, A, R: RcEntry> GenericMutTxn<E, A, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 599
impl<E: Borrow<Env>, A, R: RcEntry> sanakirja_core::LoadPage for MutTxn<E, A, R> {impl<E: Borrow<Env>, A, R: RcEntry> sanakirja_core::LoadPage for GenericMutTxn<E, A, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 623
impl<E: Borrow<Env>, T, R: RcEntry> RootPage for MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> RootPage for GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 632
impl<E: Borrow<Env>, T, R: RcEntry> MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> GenericMutTxn<E, T, R> { - replacement in "sanakirja/src/environment/muttxn.rs" at line 658
impl<E: Borrow<Env>, T, R: RcEntry> RootDb for MutTxn<E, T, R> {impl<E: Borrow<Env>, T, R: RcEntry> RootDb for GenericMutTxn<E, T, R> {