Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: index recommendations properly handle quoted table names
Fixes: #119579 The UI code used to modify the index recommendations provided by the server was not properly accounting for table and column names containing quotation marks. This was causing invalid CREATE INDEX statements to be generated, which would fail on request. This patch fixes this by updating the query modification code to strip quotation marks from the table name prior to using it to generate an index name. Release note (bug fix): Index recommendations in the DB Console will now function properly for indexes on tables/columns whose names contain quotation marks and/or whitespace. For example: `CREATE INDEX ON "my table" ("my col");`
- Loading branch information