Move dbms to database
Summary: There was only two files in dbms directory so I moved them to database directory. Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D540
This commit is contained in:
parent
514d9d2808
commit
6068a95a0e
@ -277,7 +277,7 @@ set(memgraph_src_files
|
||||
${src_dir}/data_structures/concurrent/skiplist_gc.cpp
|
||||
${src_dir}/database/graph_db.cpp
|
||||
${src_dir}/database/graph_db_accessor.cpp
|
||||
${src_dir}/dbms/dbms.cpp
|
||||
${src_dir}/database/dbms.cpp
|
||||
${src_dir}/durability/recovery.cpp
|
||||
${src_dir}/durability/snapshooter.cpp
|
||||
${src_dir}/io/network/addrinfo.cpp
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "io/network/epoll.hpp"
|
||||
#include "io/network/socket.hpp"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
||||
#include "communication/bolt/v1/constants.hpp"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <fmt/format.h>
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
||||
#include "communication/worker.hpp"
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
||||
#include "communication/bolt/v1/session.hpp"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "gflags/gflags.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
DEFINE_string(snapshot_directory, "snapshots",
|
||||
"Relative path to directory in which to save snapshots.");
|
@ -4,7 +4,7 @@
|
||||
#include <gflags/gflags.h>
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
||||
#include "communication/bolt/v1/session.hpp"
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <list>
|
||||
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
namespace query {
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "communication/bolt/v1/decoder/buffer.hpp"
|
||||
#include "communication/server.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "io/network/epoll.hpp"
|
||||
#include "io/network/socket.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include "communication/bolt/v1/decoder/buffer.hpp"
|
||||
#include "communication/server.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "io/network/epoll.hpp"
|
||||
#include "io/network/socket.hpp"
|
||||
#include "query/engine.hpp"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <gflags/gflags.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query_engine_common.hpp"
|
||||
|
||||
DECLARE_bool(interpret);
|
||||
|
@ -8,7 +8,7 @@ namespace fs = std::experimental::filesystem;
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/engine.hpp"
|
||||
#include "query/frontend/stripped.hpp"
|
||||
#include "stream/print_record_stream.hpp"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <gflags/gflags.h>
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/console.hpp"
|
||||
#include "query/interpreter.hpp"
|
||||
#include "utils/random_graph_generator.hpp"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define HARDCODED_OUTPUT_STREAM
|
||||
#include <gflags/gflags.h>
|
||||
#include "../integration/query_engine_common.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
#include "utils/fswatcher.hpp"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
/**
|
||||
* gtest/gtest.h must be included before rapidcheck/gtest.h!
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "antlr4-runtime.h"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "query/context.hpp"
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "database/graph_db_datatypes.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "storage/vertex.hpp"
|
||||
|
||||
#include "mvcc_gc_common.hpp"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "database/graph_db.hpp"
|
||||
#include "database/graph_db_datatypes.hpp"
|
||||
#include "database/indexes/label_property_index.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
#include "mvcc_gc_common.hpp"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "gflags/gflags.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
DECLARE_bool(recovery_on_startup);
|
||||
DECLARE_string(snapshot_directory);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include "database/graph_db.hpp"
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
#include "storage/edge_accessor.hpp"
|
||||
#include "storage/vertex_accessor.hpp"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "utils/bound.hpp"
|
||||
|
||||
using testing::UnorderedElementsAreArray;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
#include "query/plan/cost_estimator.hpp"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "query/engine.hpp"
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "database/graph_db_datatypes.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/opencypher/parser.hpp"
|
||||
#include "query/interpret/awesome_memgraph_functions.hpp"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/context.hpp"
|
||||
#include "query/exceptions.hpp"
|
||||
#include "query/plan/operator.hpp"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/context.hpp"
|
||||
#include "query/exceptions.hpp"
|
||||
#include "query/plan/operator.hpp"
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/context.hpp"
|
||||
#include "query/exceptions.hpp"
|
||||
#include "query/interpret/frame.hpp"
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "communication/result_stream_faker.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/context.hpp"
|
||||
#include "query/exceptions.hpp"
|
||||
#include "query/plan/operator.hpp"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/semantic/symbol_generator.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/semantic/symbol_generator.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "query/frontend/semantic/symbol_generator.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
#include "query/plan/planner.hpp"
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "database/graph_db.hpp"
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
|
||||
#include "storage/edge_accessor.hpp"
|
||||
#include "storage/property_value.hpp"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "communication/bolt/v1/decoder/decoder.hpp"
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "durability/file_reader_buffer.hpp"
|
||||
#include "durability/recovery.hpp"
|
||||
#include "utils/assert.hpp"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "gflags/gflags.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "dbms/dbms.hpp"
|
||||
#include "database/dbms.hpp"
|
||||
#include "durability/snapshooter.hpp"
|
||||
|
||||
DECLARE_bool(snapshot_on_db_exit);
|
||||
|
Loading…
Reference in New Issue
Block a user