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,5 +1,7 @@
/**
* @file bug662.cpp regression case for bug 662 ("MaxScale hangs in startup if backend server is not responsive"), covers also bug680 ("RWSplit can't load DB user if backend is not available at MaxScale start")
* @file bug662.cpp regression case for bug 662 ("MaxScale hangs in startup if backend server is not
*responsive"), covers also bug680 ("RWSplit can't load DB user if backend is not available at MaxScale
*start")
*
* - Block all Mariadb servers
* - Restart MaxScale
@ -10,9 +12,9 @@
#include "testconnections.h"
#include "maxadmin_operations.h"
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->maxscales->connect_maxscale(0);
for (int i = 0; i < Test->repl->N; i++)
@ -27,7 +29,8 @@ int main(int argc, char *argv[])
Test->maxscales->restart_maxscale(0);
Test->tprintf("Checking if MaxScale is alive by connecting to MaxAdmin\n");
Test->add_result(Test->maxscales->execute_maxadmin_command(0, (char* ) "show servers"), "Maxadmin execution failed.\n");
Test->add_result(Test->maxscales->execute_maxadmin_command(0, (char*) "show servers"),
"Maxadmin execution failed.\n");
for (int i = 0; i < Test->repl->N; i++)
{