kreynolds/cassandra-cql — pull request #56 by vicentllongo (2013-07-18 18:41:46+00:00)
Title: Login before using a keyspace

Cassandra 1.2 will throw an error if authentication has been enabled, and the client tries to use a keyspace before login.

Since cassandra-cql always tries to use a keyspace (system by default) during the client initialization, in case of authentication the login! method must be called before using a keyspace.