Commit fad59a2
MarcoFalke
log: LogError with FlatFilePos in UndoReadFromDisk
These errors should never happen in normal operation. If they do,
knowing the FlatFilePos may be useful to determine if data corruption
happened. Also, handle the error pos.IsNull() as part of OpenUndoFile,
because it may as well have happened due to data corruption.
This mirrors the LogError behavior from ReadBlockFromDisk.1 parent aaaa332 commit fad59a2
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | 706 | | |
712 | 707 | | |
713 | 708 | | |
714 | | - | |
| 709 | + | |
715 | 710 | | |
716 | 711 | | |
717 | 712 | | |
| |||
723 | 718 | | |
724 | 719 | | |
725 | 720 | | |
726 | | - | |
| 721 | + | |
727 | 722 | | |
728 | 723 | | |
729 | 724 | | |
730 | 725 | | |
731 | 726 | | |
732 | | - | |
| 727 | + | |
733 | 728 | | |
734 | 729 | | |
735 | 730 | | |
| |||
0 commit comments