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:
@ -1,5 +1,6 @@
|
||||
/**
|
||||
* @file regexfilter1.cpp Simple regexfilter tests; aslo regression case for mxs508 ("regex filter ignores username")
|
||||
* @file regexfilter1.cpp Simple regexfilter tests; aslo regression case for mxs508 ("regex filter ignores
|
||||
*username")
|
||||
*
|
||||
* Three services are configured with regexfilter, each with different parameters.
|
||||
* All services are queried with SELECT 123. The first service should replace it
|
||||
@ -10,9 +11,9 @@
|
||||
#include <iostream>
|
||||
#include "testconnections.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
TestConnections * test = new TestConnections(argc, argv);
|
||||
TestConnections* test = new TestConnections(argc, argv);
|
||||
test->maxscales->connect_maxscale(0);
|
||||
test->add_result(execute_query_check_one(test->maxscales->conn_rwsplit[0], "SELECT 123", "0"),
|
||||
"Query to first service should have replaced the query.\n");
|
||||
|
||||
Reference in New Issue
Block a user