memgraph/dc/example/memsql.cpp
2015-10-22 23:54:28 +02:00

29 lines
342 B
C++

#include "db.hpp"
class memsql : public db
{
public:
void name() const override
{
cout << "MemSQL" << endl;
}
void type() const override
{
cout << "InMemory" << endl;
}
~memsql() {}
};
extern "C" db* produce()
{
return new memsql();
}
extern "C" void destruct(db* p)
{
delete p;
}