Uncrustify maxscale

See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
This commit is contained in:
Niclas Antti
2018-09-09 22:26:19 +03:00
parent fa7ec95069
commit c447e5cf15
849 changed files with 35002 additions and 27238 deletions

View File

@ -15,9 +15,9 @@ long int new_inserts[256];
int silent = 0;
int tolerance;
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
TestConnections * Test = new TestConnections(argc, argv);
TestConnections* Test = new TestConnections(argc, argv);
Test->set_timeout(30);
Test->galera->connect();
@ -27,9 +27,9 @@ int main(int argc, char *argv[])
// connect to the MaxScale server (rwsplit)
Test->maxscales->connect_rwsplit(0);
Test->maxscales->execute_maxadmin_command(0, (char *) "shutdown monitor \"Galera Monitor\"");
Test->maxscales->execute_maxadmin_command(0, (char*) "shutdown monitor \"Galera Monitor\"");
if (Test->maxscales->conn_rwsplit[0] == NULL )
if (Test->maxscales->conn_rwsplit[0] == NULL)
{
Test->add_result(1, "Can't connect to MaxScale\n");
int rval = Test->global_result;