Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: fix panic due to concurrent map writes when copying metadata
This commit fixes a bug that caused a panic due to concurrent map writes when copying table metadata. The fix is to make a deep copy of the map before updating it. Fixes #66717 Release note (bug fix): Fixed a panic that could occur in the optimizer when executing a prepared plan with placeholders. This could happen when one of the tables used by the query had computed columns or a partial index.
- Loading branch information