mirror of https://github.com/apache/cassandra
Fix cqlsh ASSUME broken by CASSANDRA-4198.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4352
This commit is contained in:
parent
6dddf360e0
commit
0cc168a966
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue