1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-04-19 21:02:17 +03:00
wsrep-lib/dbsim/dbsim.cpp

21 lines
354 B
C++

//
// Copyright (C) 2018 Codership Oy <info@codership.com>
//
#include "db_params.hpp"
#include "db_simulator.hpp"
int main(int argc, char** argv)
{
try
{
db::simulator(db::parse_args(argc, argv)).run();
}
catch (const std::exception& e)
{
std::cerr << e.what() << std::endl;
return 1;
}
return 0;
}