src/backend/executor/delete_executor.cpp
/**
 * @brief Nothing to init at the moment.
 * @return true on success, false otherwise.
 */
@brief Nothing to init at the moment.
@return true on success, false otherwise.
@brief Nothing to init at the moment . @return true on success false otherwise .
bool DeleteExecutor::DInit() {
  assert(children_.size() == 1);
  assert(executor_context_);
  assert(target_table_ == nullptr);
  LOG_TRACE("Delete executor :: 1 child ");
  const planner::DeletePlan &node = GetPlanNode<planner::DeletePlan>();
  target_table_ = node.GetTable();
  assert(target_table_);
  return true;
}
bool DeleteExecutor :: DInit ( ) { assert ( children_ . size ( ) == 1 ) ; assert ( executor_context_ ) ; assert ( target_table_ == nullptr ) ; LOG_TRACE ( " " ) ; const planner :: DeletePlan & node = GetPlanNode < planner :: DeletePlan > ( ) ; target_table_ = node . GetTable ( ) ; assert ( target_table_ ) ; return true ; }
@brief Nothing to init at the moment.
@brief Nothing to init at the moment .
// Delete tuples in logical tile // Grab data from plan node.