Skip to content

Commit

Permalink
fixup! codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Goblin80 committed Oct 28, 2024
1 parent c3040d5 commit 1f0f366
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/engine/joinOrdering/CostCout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ requires RelationAble<N> unsigned long long cardinality(
selectivity(l, r, selectivities);

if (l) return cardinality(n->left, cardinalities, selectivities);
if (r) return cardinality(n->right, cardinalities, selectivities);
// if (r) return cardinality(n->right, cardinalities, selectivities);
return cardinality(n->right, cardinalities, selectivities);

AD_CONTRACT_CHECK("How Did We Get Here?");
return 0;
// AD_CONTRACT_CHECK("How Did We Get Here?");
// return 0;
}

template <typename N>
Expand Down Expand Up @@ -117,10 +118,10 @@ requires RelationAble<N> double Cout(
Cout(r, cardinalities, selectivities);

if (l) return Cout(l, cardinalities, selectivities);
if (r) return Cout(r, cardinalities, selectivities);

AD_CONTRACT_CHECK("How Did We Get Here?");
return 0;
// if (r) return Cout(r, cardinalities, selectivities);
return Cout(r, cardinalities, selectivities);
// AD_CONTRACT_CHECK("How Did We Get Here?");
// return 0;
}

template double Cout(const JoinTree<RelationBasic>& t,
Expand Down

0 comments on commit 1f0f366

Please sign in to comment.