cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10633) cqlsh copy uses wrong variable name for time_format
Date Mon, 02 Nov 2015 22:36:28 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986185#comment-14986185
] 

Jeremiah Jordan commented on CASSANDRA-10633:
---------------------------------------------

This commit is a bad back port to 2.1 from 2.2/3.0 https://github.com/apache/cassandra/commit/3c0a1a5c1a77ca1148bef1712a2859400d85ea8c
>From CASSANDRA-8970

> cqlsh copy uses wrong variable name for time_format
> ---------------------------------------------------
>
>                 Key: CASSANDRA-10633
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10633
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Jeremiah Jordan
>            Assignee: Jeremiah Jordan
>             Fix For: 2.1.x
>
>
> {code}
> diff --git a/bin/cqlsh b/bin/cqlsh
> index ca45be3..ddf0314 100755
> --- a/bin/cqlsh
> +++ b/bin/cqlsh
> @@ -1816,7 +1816,7 @@ class Shell(cmd.Cmd):
>          encoding = opts.pop('encoding', 'utf8')
>          nullval = opts.pop('null', '')
>          header = bool(opts.pop('header', '').lower() == 'true')
> -        timestamp_format = opts.pop('time_format', self.display_timestamp_format)
> +        timestamp_format = opts.pop('time_format', self.display_time_format)
>          if dialect_options['quotechar'] == dialect_options['escapechar']:
>              dialect_options['doublequote'] = True
>              del dialect_options['escape char']
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message