8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 05:23:03 +01:00

Cleanup up the code no longer needed.

This commit is contained in:
dimitr 2011-02-26 09:38:33 +00:00
parent fc43516b21
commit 0063f01a22

View File

@ -599,16 +599,6 @@ RecordSource* OPT_compile(thread_db* tdbb, CompilerScratch* csb, RseNode* rse,
opt->conjunctCount++;
}
// Deoptimize some conjuncts in advance
for (size_t iter = 0; iter < opt->opt_conjuncts.getCount(); iter++)
{
if (opt->opt_conjuncts[iter].opt_conjunct_node->nodFlags & ExprNode::FLAG_DEOPTIMIZE)
{
// Fake an index match for them
opt->opt_conjuncts[iter].opt_conjunct_flags |= opt_conjunct_matched;
}
}
// attempt to optimize aggregates via an index, if possible
if (aggregate && !sort)
sort = aggregate;