From 0063f01a224fd62dcd941ae59a781d74236e49fb Mon Sep 17 00:00:00 2001 From: dimitr Date: Sat, 26 Feb 2011 09:38:33 +0000 Subject: [PATCH] Cleanup up the code no longer needed. --- src/jrd/opt.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/jrd/opt.cpp b/src/jrd/opt.cpp index 5fea6a17e4..59ed445d88 100644 --- a/src/jrd/opt.cpp +++ b/src/jrd/opt.cpp @@ -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;