Skip to content

Commit 731152f

Browse files
fix?
1 parent 94dcc94 commit 731152f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbcon/execplan/rewrites.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ execplan::ParseTree* appendToRoot(execplan::ParseTree* tree, Common& common)
240240
{
241241
execplan::ParseTree* andCondition = *treenode;
242242

243-
// Increment or erase based on container type
243+
// Increment or erase based on container type to avoid UB
244244
if constexpr (is_set<Common>::value)
245245
{
246246
treenode = common.erase(treenode);

0 commit comments

Comments
 (0)