pingcap / pingcap/tidb

Split the `*ExecStmt` into multiple parts, to control the build/open/execute/close of the statement

Open
#53,938 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Now, the `*ExecStmt` controlls nearly every part during the life-cycle of a statement. It'd be better to have a smaller struct to only control the execute/close part of a executor. It can mainly focus on collecting / reporting the statistics.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.