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:
parent
fc43516b21
commit
0063f01a22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user