Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f7651f0

Browse files
committedJan 24, 2025··
Make nested_read_txn only available on heed not heed3
1 parent 09d1167 commit f7651f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎heed/src/envs/env.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ impl Env<WithoutTls> {
537537
///
538538
/// # Ok(()) }
539539
/// ```
540+
#[cfg(not(master3))]
540541
pub fn nested_read_txn<'p>(&'p self, parent: &'p RwTxn) -> Result<RoTxn<'p, WithoutTls>> {
541542
RoTxn::<WithoutTls>::nested(self, parent)
542543
}

‎heed/src/txn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ impl<'e, T> RoTxn<'e, T> {
8484
Ok(RoTxn { txn: NonNull::new(txn), env: Cow::Owned(env), _tls_marker: PhantomData })
8585
}
8686

87+
#[cfg(not(master3))]
8788
pub(crate) fn nested<'p>(
8889
env: &'p Env<WithoutTls>,
8990
parent: &'p RwTxn,

0 commit comments

Comments
 (0)
Please sign in to comment.