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

@ -1,14 +1,12 @@
#include <iostream>
#include <unistd.h>
#include "testconnections.h"
using namespace std;
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
TestConnections * Test = new TestConnections(argc, argv);
TestConnections* Test = new TestConnections(argc, argv);
int global_result = 0;
Test->ReadEnv();
@ -17,7 +15,8 @@ int main(int argc, char *argv[])
Test->ConnectMaxscale();
execute_query(Test->maxscales->conn_rwsplit[0], (char *) "select @@server_id; -- max_slave_replication_lag=120");
execute_query(Test->maxscales->conn_rwsplit[0],
(char*) "select @@server_id; -- max_slave_replication_lag=120");
@ -30,5 +29,3 @@ int main(int argc, char *argv[])
Test->Copy_all_logs();
return global_result;
}