1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

clang format apply

This commit is contained in:
Leonid Fedorov
2022-02-11 12:24:40 +00:00
parent 509f005be7
commit 7c808317dc
1367 changed files with 394342 additions and 413129 deletions

View File

@@ -27,45 +27,44 @@ using namespace querytele;
int main(int argc, char** argv)
{
bu::random_generator rg;
QueryTeleServerParms qtsp;
qtsp.host = "localhost";
qtsp.port = 9090;
QueryTeleClient qtc(qtsp);
QueryTeleClient qtc1(qtc);
QueryTeleClient qtc2;
qtc2 = qtc;
QueryTeleStats qts;
qts.query_uuid = rg();
qts.msg_type = QueryTeleStats::QT_START;
qts.query = "SELECT * FROM NATION;";
qtc.postQueryTele(qts);
bu::random_generator rg;
QueryTeleServerParms qtsp;
qtsp.host = "localhost";
qtsp.port = 9090;
QueryTeleClient qtc(qtsp);
QueryTeleClient qtc1(qtc);
QueryTeleClient qtc2;
qtc2 = qtc;
QueryTeleStats qts;
qts.query_uuid = rg();
qts.msg_type = QueryTeleStats::QT_START;
qts.query = "SELECT * FROM NATION;";
qtc.postQueryTele(qts);
sleep(1);
sleep(1);
StepTeleStats sts;
sts.query_uuid = qts.query_uuid;
sts.step_uuid = rg();
sts.msg_type = StepTeleStats::ST_START;
qtc.postStepTele(sts);
StepTeleStats sts;
sts.query_uuid = qts.query_uuid;
sts.step_uuid = rg();
sts.msg_type = StepTeleStats::ST_START;
qtc.postStepTele(sts);
sleep(1);
sleep(1);
sts.msg_type = StepTeleStats::ST_PROGRESS;
qtc.postStepTele(sts);
sts.msg_type = StepTeleStats::ST_PROGRESS;
qtc.postStepTele(sts);
sleep(1);
sleep(1);
sts.msg_type = StepTeleStats::ST_SUMMARY;
qtc.postStepTele(sts);
sts.msg_type = StepTeleStats::ST_SUMMARY;
qtc.postStepTele(sts);
sleep(1);
sleep(1);
qts.msg_type = QueryTeleStats::QT_SUMMARY;
qtc.postQueryTele(qts);
qts.msg_type = QueryTeleStats::QT_SUMMARY;
qtc.postQueryTele(qts);
sleep(20);
sleep(20);
return 0;
return 0;
}