History

loadSegment: fix wrong scach Range return value

Sigrid Solveig Haflínudóttir committed 2 years ago

Commit aa1bd201 parent 9f8fd511 file · +1 −1Browse files

Unified · Split

wal.go+1−1
@@ -641,7 +641,7 @@ func (l *Log) loadSegment(index uint64) (*segment, error) { · 640 unmodified lines
641641 if index >= s.index && index < s.index+uint64(len(s.epos)) {
642642 rseg = s
643643 }
644− return false
644+ return true
645645 })
646646 if rseg != nil {
647647 return rseg, nil

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t