DBMS now returns a unique pointer to a GraphDbAccessor

Summary: See above.

Reviewers: mislav.bradac

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D120
This commit is contained in:
florijan
2017-03-14 13:26:48 +01:00
parent 09999e877f
commit 1a6aaaed58
9 changed files with 190 additions and 178 deletions

View File

@@ -139,7 +139,7 @@ auto ExecuteQueryPlans(Logger &log, QueryEngineT &engine, Dbms &dbms,
// Create new db_accessor since one query is associated with one
// transaction.
auto db_accessor = dbms.active();
engine.Run(query, db_accessor, stream);
engine.Run(query, *db_accessor, stream);
}
}