Skip to content

Commit d1d3cfc

Browse files
committed
Minor changes
1 parent 18b1d8d commit d1d3cfc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

worker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ DWORD ChunkDiskWorker::PostWritePage(ChunkOpState& state)
21992199
{
22002200
// retry from beginning...
22012201
UnlockPageAsync(state, state.idx);
2202-
if (state.step == OP_READ_PAGE) state.step = OP_READY;
2202+
state.step = OP_READY; // OP_READ_PAGE -> OP_READY
22032203
}
22042204
return err;
22052205
}
@@ -2211,7 +2211,7 @@ DWORD ChunkDiskWorker::PostWritePage(ChunkOpState& state)
22112211
{
22122212
// retry from beginning...
22132213
UnlockPageAsync(state, state.idx);
2214-
if (state.step == OP_READ_PAGE) state.step = OP_READY;
2214+
state.step = OP_READY; // OP_READ_PAGE -> OP_READY
22152215
}
22162216
return err;
22172217
}

0 commit comments

Comments
 (0)