mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Rename LinuxIOError to UringIOError to match the IO backend renames
This commit is contained in:
parent
e5a12bdf01
commit
511c0b495d
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ pub enum LimboError {
|
|||
IOError(#[from] std::io::Error),
|
||||
#[cfg(all(target_os = "linux", feature = "io_uring"))]
|
||||
#[error("I/O error: {0}")]
|
||||
LinuxIOError(String),
|
||||
UringIOError(String),
|
||||
#[error("Locking error: {0}")]
|
||||
LockingError(String),
|
||||
#[cfg(target_family = "unix")]
|
||||
|
|
|
@ -165,7 +165,7 @@ impl IO for UringIO {
|
|||
while let Some(cqe) = ring.get_completion() {
|
||||
let result = cqe.result();
|
||||
if result < 0 {
|
||||
return Err(LimboError::LinuxIOError(format!(
|
||||
return Err(LimboError::UringIOError(format!(
|
||||
"{} cqe: {:?}",
|
||||
UringIOError::IOUringCQError(result),
|
||||
cqe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue