forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix recording db names with hyphen for idx usage stats
Fixes cockroachdb#85577 This commit fixes a bug where the query constructed during index usage stats recording failed for db names containing a hyphen. The db name placeholder is now converted to string from the `tree.Name`, which should properly escape hyphen characters for the query. Release justification: bug fix Release note (bug fix): index usage stats are properly captured for database names with hyphens
- Loading branch information
Showing
2 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters