EverythingMe/redash — pull request #123 by ekampf (2014-03-04 13:23:19+00:00)
Title: Handle empty data returned by queries

When someone enters a query that comprises from several statements, we get an empty result...
Example query:
SET @eran=1;
SELECT ...

I dont know how to handle such queries. Can't find anything in the doc.

However, its better to handle this properly rather than have len(cursor.description) throw an exception we dont handle (None doesnt have len function) - causing the user to see a stuck query he cant cancel.