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:35:34 UTC
[jira] [Created] (CASSANDRA-7512) DROP KEYSPACE IF EXISTS fails if
the KS does not exist
Fabrice Larcher created CASSANDRA-7512:
------------------------------------------
Summary: 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
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)