Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
If you have a .cqlshrc file, and a ~/.cassandra/cqlshrc file, when you run `cqlsh`, it will overwrite the latter with the former. https://github.com/apache/cassandra/blob/trunk/bin/cqlsh#L202
If the 'new' path exists (~/.cassandra/cqlsh), cqlsh should either WARN or just leave the files alone.
~$ cat .cqlshrc [authentication] ~$ cat .cassandra/cqlshrc [connection] ~$ cqlsh ~$ cat .cqlshrc cat: .cqlshrc: No such file or directory ~$ cat .cassandra/cqlshrc [authentication] ~$
Attachments
Issue Links
- relates to
-
CASSANDRA-7131 Add command line option for cqlshrc file path
- Resolved