Skip to content

Commit

Permalink
Fixed CORE-1029.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyemanov committed Nov 29, 2006
1 parent 192b3b3 commit 4bdeba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jrd/opt.cpp
Expand Up @@ -694,7 +694,7 @@ RecordSource* OPT_compile(thread_db* tdbb,
}

// Put the parent missing nodes on the stack.
for (i = 0; (i < missingStack.getCount()) && (conjunct_count < MAX_CONJUNCTS); i++)
while (missingStack.hasData() && conjunct_count < MAX_CONJUNCTS)
{
opt->opt_conjuncts.grow(conjunct_count + 1);
jrd_nod* node = missingStack.pop();
Expand Down

0 comments on commit 4bdeba3

Please sign in to comment.