Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: reduce UX surprise with DROP DATABASE and ALTER DATABASE RENAME #3090

Closed
jseldess opened this issue May 3, 2018 · 0 comments
Closed
Assignees
Milestone

Comments

@jseldess
Copy link
Contributor

jseldess commented May 3, 2018

PR: cockroachdb/cockroach#24246

From release notes:

DROP DATABASE and ALTER DATABASE ... RENAME now prevent the removal of a database name if that database is set as the current database (SET database / USE) and the session setting sql_safe_updates is also set. [#24246][#24246] {% comment %}doc{% endcomment %}

@jseldess jseldess added this to the 2.1 milestone May 3, 2018
@lnhsingh lnhsingh self-assigned this Aug 6, 2018
lnhsingh added a commit that referenced this issue Aug 8, 2018
@lnhsingh lnhsingh added in progress and removed ready labels Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants