gocql/gocql — pull request #148 by Zariel (2014-04-10 08:17:54+00:00)
Title: Make invalid keyspaces fatal to session create

A lot of people get confused when they connect to a keyspace which doesnt exist as the driver will close the connection then try to open another one, creating a loop of use of closed connection errors.

This patch makes createSession fail with an error if UseKeyspace fails.