mattn/go-sqlite3

Propagating errors from VTabCursor

mactaggart opened this issue · 2 comments

I noticed that returning an error from various methods in VTabCursor (Filter, Next, etc.) does not result in an error being propagated when executing a query. Returning an error from Filter, for example, will cause no rows to be returned, however, the caller can't distinguish if an error occurred or if there were simply no results. Is this expected behavior?

@itizir this is exactly what I was after. thanks!