fix bug multi_query batch optimization record error affected_row in sql_audit

This commit is contained in:
yishenglanlingzui
2023-08-10 02:48:35 +00:00
committed by ob-robot
parent 668e9415e3
commit 3b8bba9461
3 changed files with 7 additions and 5 deletions

View File

@ -302,7 +302,7 @@ public:
// 深拷计划中的field columns,存放在field_columns_成员中
int copy_field_columns(const ObPhysicalPlan &plan);
bool has_implicit_cursor() const;
int switch_implicit_cursor();
int switch_implicit_cursor(int64_t &affected_rows);
void reset_implicit_cursor_idx()
{
if (get_exec_context().get_physical_plan_ctx() != nullptr)