Commit 9c8c5bdd authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 21705f0f
...@@ -597,9 +597,10 @@ mainloop: ...@@ -597,9 +597,10 @@ mainloop:
return err // garbage return err // garbage
} }
} else { } else {
// not ok - e.g. IO error // only EOF is ok - it can happen when transaction was aborted,
// only EOF is ok - it can happen when transaction was aborted // or when we reach file end after scanning several txns.
if err != io.EOF { if err != io.EOF {
// not ok - e.g. IO or consistency check error
return err return err
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment