memgraph/src
florijan 7b3d298741 Fix interpreter plan ownership
Summary:
If there was no plan caching, the CachedPlan would not survive
`Interpreter::operator()`, as it was not owned by the
`Interpreter::Result`. If there was caching, it could hapen that the
cache got invalidated while that plan was being interpreted (by
another thread) without that interpretation retaining ownership.

Also simplified code around this.

Reviewers: mislav.bradac, teon.banek

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1084
2017-12-27 13:33:13 +01:00
..
communication Make interpretation pullable 2017-12-22 15:19:05 +01:00
data_structures Remove executor not run option 2017-12-18 14:36:15 +01:00
database Make WAL recovery linear 2017-12-22 10:02:09 +01:00
distributed Add master/worker flags, main functions and coordination 2017-12-19 16:05:57 +01:00
durability Make WAL recovery linear 2017-12-22 10:02:09 +01:00
io/network Add master/worker flags, main functions and coordination 2017-12-19 16:05:57 +01:00
mvcc Refactor global ids and prepare for distributed 2017-12-05 13:05:55 +01:00
query Fix interpreter plan ownership 2017-12-27 13:33:13 +01:00
storage Add virtual destructor 2017-12-22 15:02:57 +01:00
threading Take care of warnings/errors created by cppcheck. 2017-11-10 10:28:02 +01:00
transactions Make WAL recovery linear 2017-12-22 10:02:09 +01:00
utils Add #pragma once to cereal_optional.hpp 2017-12-21 16:50:13 +01:00
CMakeLists.txt Install memgraph in subdirectory of lib 2017-12-21 16:53:55 +01:00
config.hpp Make csv_to_snapshot more user friendly 2017-10-26 09:37:56 +02:00
memgraph_bolt.cpp Add master/worker flags, main functions and coordination 2017-12-19 16:05:57 +01:00
version.hpp.in Add version.hpp.in and display it on '--version' flag 2017-09-27 09:04:44 +02:00