Format all the memgraph and test source files (#97)

This commit is contained in:
antonio2368
2021-02-18 15:32:43 +01:00
committed by GitHub
parent 435af8b833
commit 3f3c55a4aa
311 changed files with 12810 additions and 22030 deletions

View File

@@ -11,10 +11,8 @@ DEFINE_string(username, "", "Username for the database");
DEFINE_string(password, "", "Password for the database");
DEFINE_bool(use_ssl, false, "Set to true to connect with SSL to the server.");
DEFINE_bool(auth_should_fail, false,
"Set to true to expect authentication failure.");
DEFINE_bool(query_should_fail, false,
"Set to true to expect query execution failure.");
DEFINE_bool(auth_should_fail, false, "Set to true to expect authentication failure.");
DEFINE_bool(query_should_fail, false, "Set to true to expect query execution failure.");
/**
* Logs in to the server and executes the queries specified as arguments. On any
@@ -25,8 +23,7 @@ int main(int argc, char **argv) {
communication::SSLInit sslInit;
io::network::Endpoint endpoint(io::network::ResolveHostname(FLAGS_address),
FLAGS_port);
io::network::Endpoint endpoint(io::network::ResolveHostname(FLAGS_address), FLAGS_port);
communication::ClientContext context(FLAGS_use_ssl);
communication::bolt::Client client(&context);