8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 08:03:03 +01:00
This commit is contained in:
dimitr 2006-05-13 05:00:21 +00:00
parent 0a85bedc0c
commit b0cb5b92cd
2 changed files with 1 additions and 3 deletions

View File

@ -1990,8 +1990,7 @@ jrd_req* CMP_make_request(thread_db* tdbb, CompilerScratch* csb)
// optimizations can be performed here.
DEBUG;
jrd_nod* node = pass1(tdbb, csb, csb->csb_node, 0, 0, false);
csb->csb_node = node;
csb->csb_node = pass1(tdbb, csb, csb->csb_node, 0, 0, false);
csb->csb_impure = REQ_SIZE + REQ_TAIL * csb->csb_n_stream;
csb->csb_exec_sta.clear();
csb->csb_node = pass2(tdbb, csb, csb->csb_node, 0);

View File

@ -824,7 +824,6 @@ RecordSource* OPT_compile(thread_db* tdbb,
}
}
// attempt to form joins in decreasing order of desirability
gen_join(tdbb, opt, streams, rivers_stack, &sort, &project,
rse->rse_plan);