2018-10-10 16:23:10 +08:00
|
|
|
#include "interactive_planning.hpp"
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2018-10-10 16:23:10 +08:00
|
|
|
#include <gflags/gflags.h>
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2019-12-09 00:04:06 +08:00
|
|
|
#include "storage/v2/storage.hpp"
|
2017-08-28 15:08:08 +08:00
|
|
|
|
2018-02-23 22:49:56 +08:00
|
|
|
DECLARE_int32(min_log_level);
|
|
|
|
|
2017-08-28 15:08:08 +08:00
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
2021-01-21 22:47:56 +08:00
|
|
|
spdlog::set_level(spdlog::level::err);
|
2019-12-09 00:04:06 +08:00
|
|
|
storage::Storage db;
|
|
|
|
auto storage_dba = db.Access();
|
|
|
|
query::DbAccessor dba(&storage_dba);
|
2019-04-15 17:36:43 +08:00
|
|
|
RunInteractivePlanning(&dba);
|
2017-08-28 15:08:08 +08:00
|
|
|
return 0;
|
|
|
|
}
|