1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
This commit is contained in:
Leonid Fedorov
2025-08-26 16:40:01 +00:00
parent 94dcc94d33
commit 731152feef

View File

@@ -240,7 +240,7 @@ execplan::ParseTree* appendToRoot(execplan::ParseTree* tree, Common& common)
{
execplan::ParseTree* andCondition = *treenode;
// Increment or erase based on container type
// Increment or erase based on container type to avoid UB
if constexpr (is_set<Common>::value)
{
treenode = common.erase(treenode);