Add recovery for 'real WAL only'.

This commit is contained in:
Ben Johnson
2020-11-06 16:30:37 -07:00
parent d964e4199a
commit 2941a2433f
7 changed files with 327 additions and 29 deletions

View File

@@ -39,3 +39,9 @@ func trimPrefixN(s string, n int) string {
}
return s[n:]
}
func assert(condition bool, message string) {
if !condition {
panic("assertion failed: " + message)
}
}