Format source code
Formatted all of the source code that was not accordance with the coding style. This was caused by merges from 2.2 into 2.3.
This commit is contained in:
@ -4,19 +4,19 @@
|
||||
|
||||
#include "testconnections.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
TestConnections::require_repl_version("10.2.0");
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
auto batch = [&](std::vector<std::string> queries){
|
||||
test.maxscales->connect();
|
||||
for (const auto& a: queries)
|
||||
{
|
||||
test.try_query(test.maxscales->conn_rwsplit[0], "%s", a.c_str());
|
||||
}
|
||||
test.maxscales->disconnect();
|
||||
};
|
||||
auto batch = [&](std::vector<std::string> queries) {
|
||||
test.maxscales->connect();
|
||||
for (const auto& a : queries)
|
||||
{
|
||||
test.try_query(test.maxscales->conn_rwsplit[0], "%s", a.c_str());
|
||||
}
|
||||
test.maxscales->disconnect();
|
||||
};
|
||||
|
||||
batch({"CREATE USER 'test' IDENTIFIED BY 'test'",
|
||||
"GRANT SELECT ON *.* TO test",
|
||||
|
||||
Reference in New Issue
Block a user