mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
Remove assert for !NO_LOCK_HELD, properly handle writing header if reset
This commit is contained in:
@@ -3,7 +3,9 @@ use crate::common::{compare_string, do_flush, TempDatabase};
|
||||
use log::debug;
|
||||
use std::io::{Read, Seek, Write};
|
||||
use std::sync::Arc;
|
||||
use turso_core::{CheckpointMode, Connection, Database, Row, Statement, StepResult, Value};
|
||||
use turso_core::{
|
||||
CheckpointMode, Connection, Database, LimboError, Row, Statement, StepResult, Value,
|
||||
};
|
||||
|
||||
const WAL_HEADER_SIZE: usize = 32;
|
||||
const WAL_FRAME_HEADER_SIZE: usize = 24;
|
||||
|
||||
Reference in New Issue
Block a user