You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2012/06/18 20:11:44 UTC
[2/3] git commit: Fix cqlsh ASSUME broken by CASSANDRA-4198. Patch by
paul cannon, reviewed by brandonwilliams for CASSANDRA-4352
Fix cqlsh ASSUME broken by CASSANDRA-4198.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4352
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0cc168a9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0cc168a9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0cc168a9
Branch: refs/heads/trunk
Commit: 0cc168a966bf4dc11db6b61e6b5b5d6771031804
Parents: 6dddf36
Author: Brandon Williams <br...@apache.org>
Authored: Mon Jun 18 13:09:50 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Mon Jun 18 13:09:50 2012 -0500
----------------------------------------------------------------------
bin/cqlsh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/0cc168a9/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index 06e0e13..fecd472 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -901,10 +901,10 @@ class Shell(cmd.Cmd):
HELP SELECT_LIMIT
HELP CONSISTENCYLEVEL
"""
- ksname = parsed.get_binding('selectks')
+ ksname = parsed.get_binding('ksname')
if ksname is not None:
ksname = self.cql_unprotect_name(ksname)
- cfname = self.cql_unprotect_name(parsed.get_binding('selectsource'))
+ cfname = self.cql_unprotect_name(parsed.get_binding('cfname'))
decoder = self.determine_decoder_for(cfname, ksname=ksname)
self.perform_statement(parsed.extract_orig(), decoder=decoder)