fix bug: plan stat incorrect when some error happened during query processing
This commit is contained in:
@ -950,8 +950,7 @@ OB_INLINE int ObMPQuery::do_process(ObSQLSessionInfo &session,
|
||||
}
|
||||
}
|
||||
//update v$sql statistics
|
||||
if ((OB_SUCC(ret) || audit_record.is_timeout())
|
||||
&& session.get_local_ob_enable_plan_cache()
|
||||
if (session.get_local_ob_enable_plan_cache()
|
||||
&& !retry_ctrl_.need_retry()) {
|
||||
ObIArray<ObTableRowCount> *table_row_count_list = NULL;
|
||||
ObPhysicalPlanCtx *plan_ctx = result.get_exec_context().get_physical_plan_ctx();
|
||||
|
||||
Reference in New Issue
Block a user