Skip to content

Commit

Permalink
Less debug output
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Kalmbach <[email protected]>
  • Loading branch information
joka921 committed Feb 17, 2025
1 parent 7f97cfe commit e845e79
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libqlever/Qlever.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ std::string Qlever::pinNamed(QueryOrPlan queryOrPlan, std::string name,
QueryPlan queryPlan = std::visit(
[&]<typename T>(T& arg) -> QueryPlan {
if constexpr (std::is_same_v<T, QueryPlan>) {
std::cerr << "tryingBefore" << std::endl;
std::get<1>(arg)->locatedTriplesSnapshot();
return std::move(arg);
} else {
return parseAndPlanQuery(std::move(arg));
Expand All @@ -196,13 +194,9 @@ std::string Qlever::pinNamed(QueryOrPlan queryOrPlan, std::string name,
// TODO<joka921> We probably should be allowed to change the pinning info etc
// without modifying the QueryExecutionTree.
auto& [qet, qec, parsedQuery] = queryPlan;
std::cerr << "tryingAfterBefore" << std::endl;
qec->locatedTriplesSnapshot();
qec->pinWithExplicitName() = std::move(name);

std::cerr << "calling `getResult`" << std::endl;
if (!returnResult) {
std::cerr << "calling `getResult`" << std::endl;
[[maybe_unused]] auto res = qet->getResult();
return "Result was pinned to cache, but not returned";
}
Expand Down

0 comments on commit e845e79

Please sign in to comment.