committed by
ob-robot
parent
6d3a8a8b76
commit
7887fcce92
@ -3897,14 +3897,6 @@ int ObSql::code_generate(
|
||||
phy_plan->stat_.is_use_jit_ = use_jit;
|
||||
phy_plan->set_returning(stmt->is_returning());
|
||||
phy_plan->set_has_link_table(has_dblink || phy_plan->has_link_udf());
|
||||
// set plan insert flag : insert into values(..); // value num is n (n >= 1);
|
||||
if (stmt->is_insert_stmt()) {
|
||||
ObInsertStmt *insert_stmt = static_cast<ObInsertStmt *>(stmt);
|
||||
phy_plan->set_is_plain_insert(!insert_stmt->value_from_select()
|
||||
&& !insert_stmt->is_insert_up()
|
||||
&& insert_stmt->get_subquery_exprs().empty()
|
||||
&& !insert_stmt->is_replace());
|
||||
}
|
||||
last_mem_usage = phy_plan->get_mem_size();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user