Suggested fixes to issue #29.

Check for execute() errors before using the return value to call fetch()/fetchColumn()/fetchAll.