Properly handle SQL statements of form UPDATE....SELECT
Merge pull request #290 from opinionlab/better-isquery

Properly identify SQL statements of form UPDATE....SELECT as non-query.