mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-06 00:34:23 +01:00
rebase
This commit is contained in:
@@ -390,7 +390,7 @@ impl SortedChunk {
|
||||
read_buffer_ref,
|
||||
read_complete,
|
||||
)));
|
||||
self.file.pread(self.total_bytes_read.get(), c)?;
|
||||
self.file.pread(self.total_bytes_read.get(), Arc::new(c))?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -422,7 +422,7 @@ impl SortedChunk {
|
||||
});
|
||||
|
||||
let c = Completion::new(CompletionType::Write(WriteCompletion::new(write_complete)));
|
||||
self.file.pwrite(0, buffer_ref, c)?;
|
||||
self.file.pwrite(0, buffer_ref, Arc::new(c))?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user