Added reduce error check to avoid infinite loop and exit on error. Fixed potential memory leak when copying json pointer from record.
Turned bulk links as normal bulk of docs on a specific /db/id/_bulk_links endpoint
Store original document on output of view
Fixed bug - call view delete record on sync not on disconnect
Refactor ROWID generation to use custom seq column to avoid potential problems of ROWID recycling if default SQLite algorithm is used. See http://www.sqlite.org/autoinc.html.
Ensure an error is NULL before it is set.
Ensure an error is NULL before it is set.
Fixed db and linkb compact. Added purge to compact if requested.
Fixed db and linkb compact. Added purge to compact if requested.
Fixed db and linkb compact. Added purge to compact if requested.