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

@ -13,7 +13,7 @@
#include "testconnections.h"
#include "maxadmin_operations.h"
void test_all_ok(TestConnections *Test)
void test_all_ok(TestConnections* Test)
{
/** Insert should work */
Test->set_timeout(30);
@ -43,7 +43,7 @@ void test_all_ok(TestConnections *Test)
"Query to service with 'error_on_write' should succeed\n");
}
void test_basic(TestConnections *Test)
void test_basic(TestConnections* Test)
{
/** Check that everything is OK before blocking the master */
Test->maxscales->connect_maxscale(0);
@ -131,7 +131,7 @@ void test_basic(TestConnections *Test)
Test->maxscales->close_maxscale_connections(0);
}
void test_complex(TestConnections *Test)
void test_complex(TestConnections* Test)
{
/** Check that everything works before test */
Test->maxscales->connect_maxscale(0);
@ -251,10 +251,10 @@ void test_complex(TestConnections *Test)
Test->maxscales->close_maxscale_connections(0);
}
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
TestConnections *Test = new TestConnections(argc, argv);
TestConnections* Test = new TestConnections(argc, argv);
/** Prepare for tests */
Test->stop_timeout();