-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: update default db to system on sql-api
Currently the default database used by the sqlApi is `defaultdb`, but that database can be deleted and also is not available during restores. The safe option is using system because it will always exist. Changing just the server file should be enough to make this work, but this commit also updates the frontend code so a new version can be updates faster than waiting for a CRDB release. Once a release is updated to Cloud, those lines of code can be removed. Fixes #97950 Release note (bug fix): Change database used for sql api calls, to no longer use "defaultdb", which was causing error messages on some pages when that database didn't exist anymore.
- Loading branch information
Showing
4 changed files
with
100 additions
and
4 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
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