-
Carlos Garnacho authored
The filter() function is meant to return SQLITE_OK or an error condition. The way to notify that a cursor is finished is returning TRUE on the next call to eof(), so just do that. Returning SQLITE_DONE here rather seems to stop query execution altogether (without apparent errors) than finishing this cursor, which will definitely bring side effects if the virtual table is being evaluated multiple times. Closes: tracker-miners#55
28f136c4