Make GraphDbAccessor mandatory for planning

Reviewers: florijan, mislav.bradac, buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D527
This commit is contained in:
Teon Banek
2017-07-07 13:03:01 +02:00
parent d9a724f0cd
commit 88153595ce
5 changed files with 38 additions and 46 deletions

View File

@@ -68,7 +68,7 @@ void CheckPlansProduce(
std::function<void(const std::vector<std::vector<TypedValue>> &)> check) {
auto symbol_table = MakeSymbolTable(*storage.query());
auto plans =
MakeLogicalPlan<VariableStartPlanner>(storage, symbol_table, &dba);
MakeLogicalPlan<VariableStartPlanner>(storage, symbol_table, dba);
EXPECT_EQ(std::distance(plans.begin(), plans.end()), expected_plan_count);
for (const auto &plan : plans) {
auto *produce = dynamic_cast<Produce *>(plan.get());