Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
*: log each `com_stmt_fetch` separately (#11987) #12392
cherry-pick #11987 to release-3.0
What problem does this PR solve?
to slow log:
In the current master code, slow log will be wrong value(
this pr will change the behavior as MySQL does, although TiDB and MySQL use very different way to handle cursor:
so, you may see mysql stmt_execute is slow but fetch super fast, and TiDB both execute and fetch is slow in log.
What is changed and how it works?