mirror of https://github.com/apache/cassandra
Revert "cqlsh: check for non-empty history file before loading"
This reverts commit 6a8ba07313.
This commit is contained in:
parent
6ad7d45ad5
commit
4d600f3381
|
|
@ -2690,7 +2690,7 @@ def setup_cqlruleset(cqlmodule):
|
||||||
def main(options, hostname, port):
|
def main(options, hostname, port):
|
||||||
setup_cqlruleset(options.cqlmodule)
|
setup_cqlruleset(options.cqlmodule)
|
||||||
|
|
||||||
if os.path.exists(HISTORY) and readline is not None and readline.get_history_length()>0:
|
if os.path.exists(HISTORY) and readline is not None:
|
||||||
readline.read_history_file(HISTORY)
|
readline.read_history_file(HISTORY)
|
||||||
delims = readline.get_completer_delims()
|
delims = readline.get_completer_delims()
|
||||||
delims.replace("'", "")
|
delims.replace("'", "")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue