Skip to content

Commit 909b15b

Browse files
authored
cbo/debug: fix Print with missing Stats (#7512)
1 parent fb30ef5 commit 909b15b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ydb/library/yql/core/cbo/cbo_optimizer_new.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,10 @@ void TJoinOptimizerNode::Print(std::stringstream& stream, int ntabs) {
101101
}
102102
stream << "\n";
103103

104-
for (int i = 0; i < ntabs; i++){
105-
stream << " ";
106-
}
107-
108104
if (Stats) {
105+
for (int i = 0; i < ntabs; i++){
106+
stream << " ";
107+
}
109108
stream << *Stats << "\n";
110109
}
111110

0 commit comments

Comments
 (0)