mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1' into trunk
This commit is contained in:
commit
076b5bdd10
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
|
||||
2.1.3
|
||||
* (cqlsh) Escape clqshrc passwords properly (CASSANDRA-8618)
|
||||
* Fix NPE when passing wrong argument in ALTER TABLE statement (CASSANDRA-8355)
|
||||
* Pig: Refactor and deprecate CqlStorage (CASSANDRA-8599)
|
||||
* Don't reuse the same cleanup strategy for all sstables (CASSANDRA-8537)
|
||||
|
|
|
|||
|
|
@ -1927,9 +1927,12 @@ def read_options(cmdlineargs, environment):
|
|||
configs = ConfigParser.SafeConfigParser()
|
||||
configs.read(CONFIG_FILE)
|
||||
|
||||
rawconfigs = ConfigParser.RawConfigParser()
|
||||
rawconfigs.read(CONFIG_FILE)
|
||||
|
||||
optvalues = optparse.Values()
|
||||
optvalues.username = option_with_default(configs.get, 'authentication', 'username')
|
||||
optvalues.password = option_with_default(configs.get, 'authentication', 'password')
|
||||
optvalues.password = option_with_default(rawconfigs.get, 'authentication', 'password')
|
||||
optvalues.keyspace = option_with_default(configs.get, 'authentication', 'keyspace')
|
||||
optvalues.completekey = option_with_default(configs.get, 'ui', 'completekey',
|
||||
DEFAULT_COMPLETEKEY)
|
||||
|
|
|
|||
Loading…
Reference in New Issue