Skip to content

Commit 3506160

Browse files
committed
more robust state copy
1 parent 69aeecb commit 3506160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb/library/yql/sql/v1/node.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ const TUdfNode* IProxyNode::GetUdfNode() const {
589589
}
590590

591591
void IProxyNode::DoUpdateState() const {
592+
static_assert(static_cast<int>(ENodeState::End) == 9, "Need to support new states here");
592593
State.Set(ENodeState::CountHint, Inner->GetCountHint());
593594
State.Set(ENodeState::Const, Inner->IsConstant());
594595
State.Set(ENodeState::MaybeConst, Inner->MaybeConstant());

0 commit comments

Comments
 (0)