mranney/node_redis — pull request #349 by roamm (2012-12-19 06:40:33+00:00)
Title: Unexpected exception when reconnecting in pub/sub mode if selected_db is not null

RedisClient might enter pub/sub mode after at least one SELECT command issued. When reconnecting after connection gone, the SELECT command is issued after restoring pub_sub_command to true, which causes an exception.