We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34389a3 commit 764a5f1Copy full SHA for 764a5f1
1 file changed
libsql-wal/src/segment/current.rs
@@ -23,7 +23,7 @@ use crate::io::file::FileExt;
23
use crate::io::Inspect;
24
use crate::segment::{checked_frame_offset, SegmentFlags};
25
use crate::segment::{frame_offset, page_offset, sealed::SealedSegment};
26
-use crate::transaction::{Transaction, TxGuard, TxGuardOwned};
+use crate::transaction::{Transaction, TxGuardShared, TxGuardOwned};
27
use crate::{LIBSQL_MAGIC, LIBSQL_PAGE_SIZE, LIBSQL_WAL_VERSION};
28
29
use super::list::SegmentList;
@@ -231,7 +231,7 @@ impl<F> CurrentSegment<F> {
231
&self,
232
pages: impl Iterator<Item = (u32, &'a [u8])>,
233
size_after: Option<u32>,
234
- tx: &mut TxGuard<F>,
+ tx: &mut TxGuardShared<F>,
235
) -> Result<Option<u64>>
236
where
237
F: FileExt,
0 commit comments