Fix handling of queries without columns and rows
Minor stylistic improvement, added a test
Merge pull request #255 from arnehormann/result-without-columns

Fix handling of queries without columns and rows