You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Fabrice Larcher (JIRA)" <ji...@apache.org> on 2014/07/08 11:58:04 UTC
[jira] [Updated] (CASSANDRA-7512) DROP KEYSPACE IF EXISTS fails if
the KS does not exist
[ https://issues.apache.org/jira/browse/CASSANDRA-7512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabrice Larcher updated CASSANDRA-7512:
---------------------------------------
Fix Version/s: 2.1 rc2
Seems to be fixed in 2.1-rc2. I close the issue.
> DROP KEYSPACE IF EXISTS fails if the KS does not exist
> ------------------------------------------------------
>
> Key: CASSANDRA-7512
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7512
> Project: Cassandra
> Issue Type: Bug
> Environment: 2.1-rc1 on Ubuntu 13 using CQLSH
> Reporter: Fabrice Larcher
> Fix For: 2.1 rc2
>
>
> I get an error message when I try to drop a keyspace that does not exist with the {{IF EXISTS}} keywords :
> {code}
> cqlsh> drop keyspace if exists myks;
> <ErrorMessage code=0000 [Server error] message="java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: One row required, 0 found">
> {code}
> I think that it was working in a previous 2.1-beta* version.
> Feature : CASSANDRA-2737
> Documentation : http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/drop_keyspace_r.html
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)