• Carlos Garnacho's avatar
    libtracker-data: Handle SQLITE_DONE in tracker_triples filter() · 28f136c4
    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
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
ChangeLog.pre-0-6-93 Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
config.h.meson.in Loading commit data...
gitlog-to-changelog Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
tracker.doap Loading commit data...