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

@ -114,7 +114,6 @@ enum What
SOFT_TTL,
HARD_TTL
};
}
void set(TestConnections& test, Cache::What what, uint32_t value)
@ -129,7 +128,6 @@ void set(TestConnections& test, Cache::What what, uint32_t value)
cout << stmt << endl;
test.try_query(pMysql, "%s", stmt.c_str());
}
}
@ -157,8 +155,8 @@ void run(TestConnections& test)
test.assert(value == 1, "Initial value was not 1.");
// Update the real value.
update(test, Column::A, 2); // Now the cache contains 1 and the db 2.
update(test, Column::B, 2); // Now the cache contains 1 and the db 2.
update(test, Column::A, 2); // Now the cache contains 1 and the db 2.
update(test, Column::B, 2); // Now the cache contains 1 and the db 2.
sleep(5);
@ -176,7 +174,6 @@ void run(TestConnections& test)
select(test, Column::B, &value);
test.assert(value == 1, "The value received was not from the cache.");
}
}
int main(int argc, char* argv[])