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

@ -20,8 +20,8 @@ void* query_thr(void* data)
while (running)
{
if (mysql_query(mysql, "INSERT INTO test.mxs1585 VALUES (1)") ||
mysql_query(mysql, "DELETE FROM test.mxs1585 LIMIT 100"))
if (mysql_query(mysql, "INSERT INTO test.mxs1585 VALUES (1)")
|| mysql_query(mysql, "DELETE FROM test.mxs1585 LIMIT 100"))
{
break;
}
@ -45,7 +45,7 @@ int main(int argc, char** argv)
std::vector<pthread_t> threads;
threads.resize(100);
for (auto& a: threads)
for (auto& a : threads)
{
pthread_create(&a, NULL, query_thr, &test);
}
@ -64,7 +64,7 @@ int main(int argc, char** argv)
running = false;
test.set_timeout(120);
for (auto& a: threads)
for (auto& a : threads)
{
test.set_timeout(60);
pthread_join(a, NULL);