doctrine/dbal — pull request #733 by SchulteMarkus (2014-12-04 13:48:25+00:00)
Title: Debug-infos if connection-query without params fails

When a query without params is executed against internal connection, and it fails, cancel execution by throwing an exception with additional informations.
Fixed: db-stmt ("$stmt" in executeQuery()) can become a non-object in case of query-error, leading to a PHP Fatal Error when fetchMode is set on it.