memgraph/tests/integration/hardcoded_query/create_garment.cpp
Dominik Gleich e0f399ac42 Fix manual query engine config and paths.
Test Plan: In progress.

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D55
2017-02-21 15:41:44 +01:00

25 lines
542 B
C++

#include <iostream>
#include <string>
#include "query/plan_interface.hpp"
#include "using.hpp"
using std::cout;
using std::endl;
// Query: CREATE (n {garment_id: 1234, garment_category_id: 1}) RETURN n;
class CPUPlan : public PlanInterface<Stream> {
public:
bool run(GraphDbAccessor &db_accessor, const TypedValueStore<> &args,
Stream &stream) {
return true;
}
~CPUPlan() {}
};
extern "C" PlanInterface<Stream> *produce() { return new CPUPlan(); }
extern "C" void destruct(PlanInterface<Stream> *p) { delete p; }