提交 ec143f94 编写于 作者: A Andrew Dunstan

Fix a small logic bug in adjusted parallel restore code.

上级 28ba2609
......@@ -3574,8 +3574,10 @@ restore_toc_entries_parallel(ArchiveHandle *AH, ParallelState *pstate,
DispatchJobForTocEntry(AH, pstate, next_work_item, ACT_RESTORE);
}
else
{
/* at least one child is working and we have nothing ready. */
Assert(!IsEveryWorkerIdle(pstate));
}
for (;;)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册