Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: job SessionData OptimizerFKCascadesLimit not defaulting to optDr…
…ivenFKCascadesClusterLimit Fixes #101265 `SessionData` available to in the job context has a 0-value `OptimizerFKCascadesLimit`. This causes DELETE queries run by the job with an inbound on-delete-cascade FK to fail with an error `cascades limit (0) reached`. This change fixes this by populating OptimizerFKCascadesLimit in `sql.NewFakeSessionData`. Release note: None
- Loading branch information