sql stuff in
This commit is contained in:
@@ -8,7 +8,8 @@ int main (int argc, char *argv[]) {
|
||||
if(log_path.empty()) throw std::runtime_error("your dumbass can't put in a path");
|
||||
std::string clickhouse_username = config["clickhouse"]["username"].value_or("");
|
||||
std::string clickouse_password = config["clickhouse"]["password"].value_or("");
|
||||
if(clickhouse_username.empty() || clickouse_password.empty()) throw std::runtime_error("put the creds in the right place idiot");
|
||||
std::string clickhouse_db = config["clickhouse"]["db"].value_or("");
|
||||
if(clickhouse_username.empty() || clickouse_password.empty() || clickhouse_db.empty()) throw std::runtime_error("put the creds in the right place idiot");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user