This commit is contained in:
Ben Johnson
2020-11-03 12:02:13 -07:00
parent d30f06b618
commit 42f9ba9d1c
2 changed files with 93 additions and 0 deletions

2
wal.go
View File

@@ -8,6 +8,8 @@ import (
"os"
)
// TODO: Pages can be written multiple times before 3.11.0 (https://sqlite.org/releaselog/3_11_0.html)
var (
// ErrWALHeaderEmpty is returned when writing an empty header.
ErrWALHeaderEmpty = errors.New("wal header empty")