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

@ -10,14 +10,14 @@
#include "testconnections.h"
#define CONNECTIONS 21
#define ITER 25
#define ITER 25
int main(int argc, char** argv)
{
MYSQL *mysql[CONNECTIONS];
TestConnections * Test = new TestConnections(argc, argv);
MYSQL* mysql[CONNECTIONS];
TestConnections* Test = new TestConnections(argc, argv);
Test->stop_timeout();
Test->repl->execute_query_all_nodes((char *) "set global max_connections = 20;");
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 20;");
sleep(5);
int limit = 0;
@ -65,9 +65,8 @@ int main(int argc, char** argv)
sleep(5);
Test->stop_timeout();
Test->check_maxscale_alive(0);
Test->repl->execute_query_all_nodes((char *) "set global max_connections = 100;");
Test->repl->execute_query_all_nodes((char*) "set global max_connections = 100;");
int rval = Test->global_result;
delete Test;
return rval;
}