src/backend/bridge/dml/executor/plan_executor.cpp
/**
 * @brief Clean up the executor tree.
 * @param The current executor tree
 * @return none.
 */
@brief Clean up the executor tree.
@param The current executor tree
@return none.
@brief Clean up the executor tree . @param The current executor tree @return none .
void CleanExecutorTree(executor::AbstractExecutor *root) {
  if (root == nullptr) return;
  auto children = root->GetChildren();
  for (auto child : children) {
    CleanExecutorTree(child);
  }
}
void CleanExecutorTree ( executor :: AbstractExecutor * root ) { if ( root == nullptr ) return ; auto children = root -> GetChildren ( ) ; for ( auto child : children ) { CleanExecutorTree ( child ) ; } }
@brief Clean up the executor tree.
@brief Clean up the executor tree .
// Recurse