First integration almost done. BOLT still doesn't work as expected, problem is only serialization order.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user