lazily replaying sql bindings for session manager
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
This is similar to https://github.com/pingcap/tidb/issues/35806:
Replaying SQL bindings needs to parse the hints because the hints are hard to be encoded. So after the table / db is dropped / altered, sql_mode is changed, or privilege is updated, replaying sql bindings may encounter an error.
A solution is to delay the replaying until it's really accessed.
Contributor guide
Assessment
This issue has not been assessed yet.