Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DedSec256 committed Sep 6, 2023
1 parent 9b14288 commit 1e0ebe5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Compiler/AbstractIL/ilread.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,7 @@ let seekReadIndexedRowsRange numRows binaryChop (reader: ISeekReadIndexedRowRead
let mid = (low + high) / 2

startRid <- mid
endRid <- mid

// read backwards
let mutable fin = false
Expand All @@ -1250,7 +1251,7 @@ let seekReadIndexedRowsRange numRows binaryChop (reader: ISeekReadIndexedRowRead

// read forward
let mutable fin = false
let mutable curr = mid
let mutable curr = mid + 1

while not fin do
if curr > numRows then
Expand Down Expand Up @@ -1287,6 +1288,8 @@ let seekReadIndexedRowsRange numRows binaryChop (reader: ISeekReadIndexedRowRead
else
fin <- true

rid <- rid + 1

startRid, endRid

let seekReadIndexedRowsByInterface numRows binaryChop (reader: ISeekReadIndexedRowReader<'RowT, _, _>) =
Expand Down

0 comments on commit 1e0ebe5

Please sign in to comment.