memgraph/tests/manual/query_planner.cpp
antonio2368 28413fd626 Change log library to spdlog, expose log levels to user (#72)
* Change from glog to spdlog

* Remove HA tests

* Remove logrotate log configuration

* Define custom main for unit gtests
2021-01-21 16:30:55 +01:00

18 lines
402 B
C++

#include "interactive_planning.hpp"
#include <gflags/gflags.h>
#include "storage/v2/storage.hpp"
DECLARE_int32(min_log_level);
int main(int argc, char *argv[]) {
gflags::ParseCommandLineFlags(&argc, &argv, true);
spdlog::set_level(spdlog::level::err);
storage::Storage db;
auto storage_dba = db.Access();
query::DbAccessor dba(&storage_dba);
RunInteractivePlanning(&dba);
return 0;
}