mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Misc.
This commit is contained in:
parent
f6ba807faa
commit
bc9c2f0403
@ -1289,8 +1289,9 @@ InversionCandidate* OptimizerRetrieval::generateInversion(RecordSource** rsb)
|
|||||||
// very safe at the moment, but in our case Array holds a sorted list.
|
// very safe at the moment, but in our case Array holds a sorted list.
|
||||||
// However SortedArray class should be updated to handle join right!
|
// However SortedArray class should be updated to handle join right!
|
||||||
matches.join(invCandidate->matches);
|
matches.join(invCandidate->matches);
|
||||||
tail = optimizer->opt_conjuncts.begin();
|
for (OptimizerBlk::opt_conjunct* tail = optimizer->opt_conjuncts.begin();
|
||||||
for (; tail < opt_end; tail++) {
|
tail < opt_end; tail++)
|
||||||
|
{
|
||||||
if (!(tail->opt_conjunct_flags & opt_conjunct_used)) {
|
if (!(tail->opt_conjunct_flags & opt_conjunct_used)) {
|
||||||
size_t pos;
|
size_t pos;
|
||||||
if (matches.find(tail->opt_conjunct_node, pos)) {
|
if (matches.find(tail->opt_conjunct_node, pos)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user