mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-20 07:25:14 +01:00
clippy
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::{
|
||||
HISTORY_FILE,
|
||||
};
|
||||
use comfy_table::{Attribute, Cell, CellAlignment, ContentArrangement, Row, Table};
|
||||
use limbo_core::{Database, LimboError, PagerCacheflushStatus, Statement, StepResult, Value};
|
||||
use limbo_core::{Database, LimboError, Statement, StepResult, Value};
|
||||
use tracing_appender::non_blocking::WorkerGuard;
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt, EnvFilter};
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ use vdbe::builder::TableRefIdCounter;
|
||||
|
||||
pub type Result<T, E = LimboError> = std::result::Result<T, E>;
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||
enum TransactionState {
|
||||
Write,
|
||||
Read,
|
||||
|
||||
@@ -7172,7 +7172,7 @@ mod tests {
|
||||
.unwrap();
|
||||
cursor.move_to_root();
|
||||
loop {
|
||||
match pager.end_tx().unwrap() {
|
||||
match pager.end_tx(false).unwrap() {
|
||||
crate::PagerCacheflushStatus::Done(_) => break,
|
||||
crate::PagerCacheflushStatus::IO => {
|
||||
pager.io.run_once().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user