Repository: spark
Updated Branches:
refs/heads/branch-2.0 7e4ba66d9 -> f97dd8a8f
[SPARK-16459][SQL] Prevent dropping current database
This PR prevents dropping the current database to avoid errors like the
followings.
```scala
scala> sql("create database delete_db")
scala> sql("use
Repository: spark
Updated Branches:
refs/heads/master 9cb1eb7af -> 7ac79da0e
[SPARK-16459][SQL] Prevent dropping current database
## What changes were proposed in this pull request?
This PR prevents dropping the current database to avoid errors like the
followings.
```scala
scala>