MCPcopy Create free account
hub / github.com/ad-freiburg/qlever / removeJoinColFromVarColMap

Function removeJoinColFromVarColMap

test/JoinTest.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57};
58
59void removeJoinColFromVarColMap(const Variable& var, VariableToColumnMap& map) {
60 auto colIdx = map.at(var).columnIndex_;
61 map.erase(var);
62 for (auto& [_, info] : map) {
63 auto& [idx, status] = info;
64 if (idx > colIdx) {
65 --idx;
66 }
67 }
68}
69
70/*
71 * @brief Goes through the sets of tests, joins them together with the given

Callers 1

TEST_PFunction · 0.85

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected