From 4008e9bd3fd8b6fca2f3c9f935b9f5dfa97116ad Mon Sep 17 00:00:00 2001 From: Stefania Alborghetti Date: Tue, 31 May 2016 16:52:26 +0200 Subject: [PATCH] cqlsh: apply current keyspace to source command patch by Stefania Alborghetti; reviewed by Robert Stupp for CASSANDRA-11152 --- CHANGES.txt | 1 + bin/cqlsh | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index ad9d00c7db..a437322299 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 2.1.15 + * cqlsh: apply current keyspace to source command (CASSANDRA-11152) * Backport CASSANDRA-11578 (CASSANDRA-11750) * Clear out parent repair session if repair coordinator dies (CASSANDRA-11824) * Set default streaming_socket_timeout_in_ms to 24 hours (CASSANDRA-11840) diff --git a/bin/cqlsh b/bin/cqlsh index 374e588dad..6317ec9387 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1676,6 +1676,7 @@ class Shell(cmd.Cmd): subshell = Shell(self.hostname, self.port, color=self.color, encoding=self.encoding, stdin=f, tty=False, use_conn=self.conn, cqlver=self.cql_version, + keyspace=self.current_keyspace, display_time_format=self.display_time_format, display_float_precision=self.display_float_precision, max_trace_wait=self.max_trace_wait)