Skip to content

Commit

Permalink
Merge pull request #611 from brainopia/extra_condition_in_full_scan
Browse files Browse the repository at this point in the history
Remove unnecessary condition in fullScan
  • Loading branch information
ibdknox committed Dec 1, 2016
2 parents 2c17552 + 90d1e6b commit 1dbbaf4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/runtime/join.ts
Expand Up @@ -184,11 +184,7 @@ export class Scan {
let solving = [];
let solveNode = this.node !== undefined;
let depth = solveNode ? 4 : 3;
if(a !== undefined) {
this._fullScanLookup(index.aveIndex, solving, results, [a,v,e,node], 0, 0, depth);
} else {
this._fullScanLookup(index.eavIndex, solving, results, resolved, 0, 0, depth);
}
this._fullScanLookup(index.eavIndex, solving, results, resolved, 0, 0, depth);
return results;
}

Expand Down

0 comments on commit 1dbbaf4

Please sign in to comment.