-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Support "DROP DATABASE IF EXISTS" #4659
Labels
difficulty/medium
Resolving this issue should take up to a week
Comments
otoolep
added
status/help-wanted
difficulty/medium
Resolving this issue should take up to a week
and removed
difficulty/low
labels
Nov 4, 2015
Hi @otoolep , can I have a try for this issue? I have create a pull request for it. |
ch33hau
added a commit
to ch33hau/influxdb
that referenced
this issue
Nov 7, 2015
otoolep
added a commit
that referenced
this issue
Nov 7, 2015
Added IF EXISTS for DROP DATABASE command, #4659
@ch33hau - email me your address so we can send you a tshirt. philip at influxdb |
@otoolep Thanks for your Monday early good news! =) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This useful command would allow clients to idempotently drop a database. If
IF EXISTS
is present, no error would be returned if the database does not exist.#3892 introduced
CREATE DATABASE IF NOT EXISTS
, so using that PR as a guide, along with investigating the current implementation ofDROP DATABASE
should make it relatively easy to implement this feature.The text was updated successfully, but these errors were encountered: