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

@ -54,9 +54,13 @@ int main(int argc, char** argv)
test.add_result(mysql_stmt_execute(stmt), "Failed to execute");
test.add_result(mysql_stmt_bind_result(stmt, bind), "Failed to bind result");
test.add_result(mysql_stmt_fetch(stmt), "Failed to fetch result");
test.add_result(strcmp(buffer, server_id[1]) && strcmp(buffer, server_id[2]) && strcmp(buffer, server_id[3]),
test.add_result(strcmp(buffer,
server_id[1]) && strcmp(buffer, server_id[2]) && strcmp(buffer, server_id[3]),
"Expected one of the slave server IDs (%s, %s or %s), not '%s'",
server_id[1], server_id[2], server_id[3], buffer);
server_id[1],
server_id[2],
server_id[3],
buffer);
mysql_stmt_close(stmt);