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:
@ -35,7 +35,8 @@ int main(int argc, char** argv)
|
||||
test.repl->sync_slaves();
|
||||
|
||||
test.tprintf("Connect with a user that has a default role");
|
||||
MYSQL* conn = open_conn_db(test.maxscales->rwsplit_port[0], test.maxscales->IP[0], "my_db", "test", "test");
|
||||
MYSQL* conn
|
||||
= open_conn_db(test.maxscales->rwsplit_port[0], test.maxscales->IP[0], "my_db", "test", "test");
|
||||
test.assert(mysql_errno(conn) == 0, "Connection failed: %s", mysql_error(conn));
|
||||
char value[100] {};
|
||||
find_field(conn, "SELECT CURRENT_ROLE() AS role", "role", value);
|
||||
|
Reference in New Issue
Block a user