Remove GraphDbAccessor parameter from MakeCursor

Reviewers: mtomic, mferencevic

Reviewed By: mtomic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2189
This commit is contained in:
Teon Banek
2019-07-08 14:45:06 +02:00
parent 3a34d6fcdd
commit 5bc0be50c5
13 changed files with 358 additions and 528 deletions

View File

@@ -281,8 +281,7 @@ TEST(QueryPlan, Delete) {
n.op_, std::vector<Expression *>{n_get}, true);
Frame frame(symbol_table.max_position());
auto context = MakeContext(storage, symbol_table, &dba);
delete_op->MakeCursor(&dba, utils::NewDeleteResource())
->Pull(frame, context);
delete_op->MakeCursor(utils::NewDeleteResource())->Pull(frame, context);
dba.AdvanceCommand();
EXPECT_EQ(3, CountIterable(dba.Vertices(false)));
EXPECT_EQ(3, CountIterable(dba.Edges(false)));