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,12 +1,12 @@
#include "big_transaction.h"
int big_transaction(MYSQL * conn, int N)
int big_transaction(MYSQL* conn, int N)
{
int local_result = 0;
char sql[1000000];
local_result += create_t1(conn);
local_result += execute_query(conn, (char *) "START TRANSACTION");
local_result += execute_query(conn, (char *) "SET autocommit = 0");
local_result += execute_query(conn, (char*) "START TRANSACTION");
local_result += execute_query(conn, (char*) "SET autocommit = 0");
for (int i = 0; i < N; i++)
{
@ -18,6 +18,6 @@ int big_transaction(MYSQL * conn, int N)
local_result += execute_query(conn, "%s", sql);
}
local_result += execute_query(conn, (char *) "COMMIT");
local_result += execute_query(conn, (char*) "COMMIT");
return local_result;
}