Handle errors returned by SQLMoreResults
Handle error returned by moreResultsSync()

Handle error returned by moreResultsSync() in Database.query. Return the
error as a separate result set.