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,4 +1,3 @@
#include "testconnections.h"
int main(int argc, char** argv)
@ -12,7 +11,11 @@ int main(int argc, char** argv)
execute_query(test.repl->nodes[0], "GRANT INSERT ON insert_db.t1 TO 'insert_only'@'%%'");
test.repl->sync_slaves();
MYSQL* conn = open_conn(test.maxscales->rwsplit_port[0], test.maxscales->IP[0], "insert_only", "insert_only", false);
MYSQL* conn = open_conn(test.maxscales->rwsplit_port[0],
test.maxscales->IP[0],
"insert_only",
"insert_only",
false);
test.assert(mysql_errno(conn) == 0, "User without SELECT privileges should be allowed to connect");
mysql_close(conn);