First integration almost done. BOLT still doesn't work as expected, problem is only serialization order.

This commit is contained in:
Marko Budiselic
2016-08-11 04:47:30 +01:00
parent 35d8f6d7ab
commit 93b174afd7
94 changed files with 430 additions and 285 deletions

View File

@@ -7,6 +7,7 @@
#include "query_engine/query_engine.hpp"
#include "utils/time/timer.hpp"
#include "utils/terminate_handler.hpp"
#include "communication/communication.hpp"
using std::cout;
using std::endl;
@@ -18,6 +19,9 @@ int main(void)
Db db;
QueryEngine engine;
// TODO: write dummy socket that is going to execute test
io::Socket socket;
communication::OutputStream stream(socket);
cout << "-- Memgraph query engine --" << endl;
@@ -31,7 +35,7 @@ int main(void)
// execute command
try {
engine.execute(command, db);
engine.execute(command, db, stream);
} catch (const std::exception& e) {
cout << e.what() << endl;
} catch (const QueryEngineException& e) {