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:
@ -2,27 +2,29 @@
|
||||
#define SYSBENCH_COMMANDS_H
|
||||
|
||||
/*const char * sysbench_prepare =
|
||||
"sysbench --test=oltp \
|
||||
--oltp-table-size=1000000 --mysql-db=test --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-port=4006 --mysql-host=%s prepare";
|
||||
* "sysbench --test=oltp \
|
||||
* --oltp-table-size=1000000 --mysql-db=test --mysql-user=skysql --mysql-password=skysql \
|
||||
* --mysql-port=4006 --mysql-host=%s prepare";
|
||||
*
|
||||
*
|
||||
*
|
||||
* const char * sysbench_command =
|
||||
* "sysbench --test=oltp \
|
||||
* --mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
* --mysql-db=test --mysql-table-engine=innodb \
|
||||
* --num-threads=32 --oltp-table-size=1000000 --oltp-read-only=off \
|
||||
* --oltp-dist-type=uniform --oltp-skip-trx=off --init-rng=on --oltp-test-mode=complex \
|
||||
* --max-requests=0 --max-time=600 run";*/
|
||||
|
||||
|
||||
|
||||
const char * sysbench_command =
|
||||
"sysbench --test=oltp \
|
||||
--mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-db=test --mysql-table-engine=innodb \
|
||||
--num-threads=32 --oltp-table-size=1000000 --oltp-read-only=off \
|
||||
--oltp-dist-type=uniform --oltp-skip-trx=off --init-rng=on --oltp-test-mode=complex \
|
||||
--max-requests=0 --max-time=600 run";*/
|
||||
|
||||
const char * sysbench_prepare =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_prepare
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--oltp-table-size=1000000 --mysql-db=test --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-port=4006 --mysql-host=%s --oltp-tables-count=4 prepare";
|
||||
|
||||
const char * sysbench_command =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_command
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-db=test --mysql-table-engine=innodb --mysql-ignore-duplicates=on \
|
||||
--num-threads=32 --oltp-table-size=1000000 --oltp-tables-count=2 --oltp-read-only=%s \
|
||||
@ -30,13 +32,15 @@ const char * sysbench_command =
|
||||
--max-requests=0 --report-interval=5 --max-time=100 run";
|
||||
|
||||
|
||||
const char * sysbench_prepare1 =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_prepare1
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--oltp-table-size=1000 --mysql-db=test --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-port=4006 --mysql-host=%s --oltp-tables-count=1 prepare";
|
||||
|
||||
const char * sysbench_command1 =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_command1
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-db=test --mysql-table-engine=innodb --mysql-ignore-duplicates=on \
|
||||
--num-threads=32 --oltp-table-size=1000 --oltp-tables-count=1 --oltp-read-only=%s \
|
||||
@ -44,8 +48,9 @@ const char * sysbench_command1 =
|
||||
--max-requests=0 --report-interval=5 --max-time=100 run";
|
||||
|
||||
|
||||
const char * sysbench_command_long =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_command_long
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-db=test --mysql-table-engine=innodb --mysql-ignore-duplicates=on \
|
||||
--num-threads=32 --oltp-table-size=1000000 --oltp-tables-count=2 --oltp-read-only=%s \
|
||||
@ -53,13 +58,15 @@ const char * sysbench_command_long =
|
||||
--max-requests=0 --report-interval=5 --max-time=2592000 run";
|
||||
|
||||
|
||||
const char * sysbench_prepare_short =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_prepare_short
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--oltp-table-size=10000 --mysql-db=test --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-port=4006 --mysql-host=%s --oltp-tables-count=4 prepare";
|
||||
|
||||
const char * sysbench_command_short =
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
const char* sysbench_command_short
|
||||
=
|
||||
"%s/sysbench --test=%s/tests/db/oltp.lua \
|
||||
--mysql-host=%s --mysql-port=%d --mysql-user=skysql --mysql-password=skysql \
|
||||
--mysql-db=test --mysql-table-engine=innodb --mysql-ignore-duplicates=on \
|
||||
--num-threads=32 --oltp-table-size=10000 --oltp-tables-count=2 --oltp-read-only=%s \
|
||||
|
Reference in New Issue
Block a user