Skip to content

Commit

Permalink
added makefile to gitignore, also fixed assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Learus committed Jan 14, 2019
1 parent 2638888 commit 1823b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
bin/
data/
/Makefile
2 changes: 1 addition & 1 deletion src/statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ float RHJ::Statistics::expected_cost
rrel = cache.query->relations[predicate.right.operand.rel],
rcol = predicate.right.operand.col;

//assert(lrel != rrel || lcol == rcol);
assert(predicate.left.rel != predicate.right.operand.rel || lcol == rcol);

const Statistics lold(clone[lrel][lcol]), rold(clone[rrel][rcol]);

Expand Down

0 comments on commit 1823b6a

Please sign in to comment.