cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [4/9] git commit: explain how to specify a keyspace
Date Wed, 28 May 2014 09:53:01 GMT
explain how to specify a keyspace


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b59ae73c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b59ae73c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b59ae73c

Branch: refs/heads/cassandra-2.0
Commit: b59ae73cf20e7ddb7ed656ad968419e06e4a82e4
Parents: 5d40dff
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Wed May 28 11:51:21 2014 +0200
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed May 28 11:51:42 2014 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/ClientState.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b59ae73c/src/java/org/apache/cassandra/service/ClientState.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/ClientState.java b/src/java/org/apache/cassandra/service/ClientState.java
index a58027e..be3b895 100644
--- a/src/java/org/apache/cassandra/service/ClientState.java
+++ b/src/java/org/apache/cassandra/service/ClientState.java
@@ -158,7 +158,7 @@ public class ClientState
     public String getKeyspace() throws InvalidRequestException
     {
         if (keyspace == null)
-            throw new InvalidRequestException("no keyspace has been specified");
+            throw new InvalidRequestException("No keyspace has been specified. USE a keyspace,
or explicity specify keyspace.tablename");
         return keyspace;
     }
 


Mime
View raw message