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

@ -4,14 +4,15 @@
#include "testconnections.h"
/**
* @brief get_global_status_allnodes Reads COM_SELECT and COM_INSERT variables from all nodes and stores into 'selects' and 'inserts'
* @brief get_global_status_allnodes Reads COM_SELECT and COM_INSERT variables from all nodes and stores into
*'selects' and 'inserts'
* @param selects pointer to array to store COM_SELECT for all nodes
* @param inserts pointer to array to store COM_INSERT for all nodes
* @param nodes Mariadb_nodes object that contains information about nodes
* @param silent if 1 do not print anything
* @return 0 in case of success
*/
int get_global_status_allnodes(long int *selects, long int *inserts, Mariadb_nodes * nodes, int silent);
int get_global_status_allnodes(long int* selects, long int* inserts, Mariadb_nodes* nodes, int silent);
/**
* @brief print_delta Prints difference in COM_SELECT and COM_INSERT
@ -22,7 +23,10 @@ int get_global_status_allnodes(long int *selects, long int *inserts, Mariadb_nod
* @param NodesNum Number of nodes
* @return
*/
int print_delta(long int *new_selects, long int *new_inserts, long int *selects, long int *inserts,
int print_delta(long int* new_selects,
long int* new_inserts,
long int* selects,
long int* inserts,
int nodes_num);