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

@ -2,9 +2,9 @@
* @file session_limits.cpp - test for 'max_sescmd_history' and 'connection_timeout' parameters
* - add follwoling to router configuration
* @verbatim
connection_timeout=30
router_options=max_sescmd_history=10
@endverbatim
* connection_timeout=30
* router_options=max_sescmd_history=10
* @endverbatim
* - open session
* - wait 20 seconds, check if session is alive, expect ok
* - wait 20 seconds more, check if session is alive, expect failure
@ -16,7 +16,7 @@ router_options=max_sescmd_history=10
#include "testconnections.h"
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
TestConnections test(argc, argv);
int first_sleep = 5;
@ -40,7 +40,9 @@ int main(int argc, char *argv[])
test.maxscales->connect_maxscale(0);
for (int i = 0; i < 10; i++)
{
test.try_query(test.maxscales->conn_rwsplit[0], "%s", std::string("set @test=" + std::to_string(i)).c_str());
test.try_query(test.maxscales->conn_rwsplit[0],
"%s",
std::string("set @test=" + std::to_string(i)).c_str());
}
test.tprintf("Execute one more session command and expect message in error log");