Skip to content

Commit

Permalink
change is finished to is finished or blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmonster authored and krlmlr committed Feb 27, 2024
1 parent f4e3bd7 commit ac12329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ bool FetchArrowChunk(ChunkScanState &scan_state, ClientProperties options, Appen
do {
execution_result = pending_query->ExecuteTask();
R_CheckUserInterrupt();
} while (!PendingQueryResult::IsFinished(execution_result));
} while (!PendingQueryResult::IsFinishedOrBlocked(execution_result));
if (execution_result == PendingExecutionResult::EXECUTION_ERROR) {
cpp11::stop("rapi_execute: Failed to run query\nError: %s", pending_query->GetError().c_str());
}
Expand Down

0 comments on commit ac12329

Please sign in to comment.