[
https://issues.apache.org/jira/browse/CASSANDRA-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725062#comment-17725062
]
Stefan Miklosovic edited comment on CASSANDRA-15046 at 5/22/23 6:28 PM:
------------------------------------------------------------------------
Sorry that I am that guy but I found a bug :)
If you do "rm ~/.cassandra/cqlshrc_history" so there is no history at all, you
log in and get history, it will return you this:
{code}
cqlsh> history
None
None
None
None
None
None
None
None
None
None
...
cqlsh>
{code}
It seems like it is trying to print out the array of N lines no matter what,
even they do not exist.
was (Author: smiklosovic):
Sorry that I am that guy but I found a bug :)
If you do "rm ~/.cassandra/cqlshrc_history" so there is no history at all, you
log in and get history, it will return you this:
{code}
cqlsh> history
None
None
None
None
None
None
None
None
None
None
...
cqlsh>
{code}
> Add a "history" command to cqlsh. Perhaps "show history"?
> ----------------------------------------------------------
>
> Key: CASSANDRA-15046
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15046
> Project: Cassandra
> Issue Type: Improvement
> Components: CQL/Interpreter
> Reporter: Wes Peters
> Assignee: Brad Schoening
> Priority: Low
> Labels: lhf
> Fix For: 5.x
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> I was trying to capture some create key space and create table commands from
> a running cqlsh, and found there was no equivalent to the '\s' history
> command in Postgres' psql shell. It's a great tool for figuring out what you
> were doing yesterday.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]