Fixed exception for CQL queries that returned empty result set #31

Merged
merged 2 commits into from Jun 13, 2012

Conversation

Projects
None yet
2 participants
Contributor

mstump commented Jun 12, 2012

Fixed bug where CQL queries with no results were causing exceptions because the to-clojure protocol couldn't deal with a null value from QueryResultImpl. We now check if (.get QueryResultImpl) returns null, and if so return an empty map. Also added unit tests for this case, and empty result set for standard row fetch.

mstump added some commits Jun 12, 2012

nickmbailey merged commit 9650037 into pingles:master Jun 13, 2012

Collaborator

nickmbailey commented Jun 13, 2012

Looks good. Thanks Matt!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment