Skip to content

Commit cccb628

Browse files
authored
Merge pull request #292 from ClickHouse/handle_profile
Added Query.onProfile and handling of Profile data
2 parents ed8cea2 + 6cb84a1 commit cccb628

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ut/client_ut.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,16 +1123,6 @@ TEST_P(ClientCase, OnProfile) {
11231123
std::optional<Profile> profile;
11241124
query.OnProfile([&profile](const Profile & new_profile) {
11251125
profile = new_profile;
1126-
1127-
std::cout <<
1128-
"Profile:" <<
1129-
"\n\trows: " << new_profile.rows <<
1130-
"\n\tblocks: " << new_profile.blocks <<
1131-
"\n\tbytes: " << new_profile.bytes <<
1132-
"\n\trows_before_limit: " << new_profile.rows_before_limit <<
1133-
"\n\tapplied_limit: " << new_profile.applied_limit <<
1134-
"\n\tcalculated_rows_before_limit: " << new_profile.calculated_rows_before_limit <<
1135-
std::endl;
11361126
});
11371127

11381128
client_->Execute(query);

0 commit comments

Comments
 (0)