go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

Propagating errors from VTabCursor

Open mactaggart opened this issue 3 years ago • 0 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?

mactaggart avatar Aug 16 '22 16:08 mactaggart