[sqlite] Information passing between xBestIndex and xFilter

2015-11-13 Thread Johnny Wezel
I think there is a flaw in information passing between the xBestIndex and xFilter methods in virtual tables. The information about the constraint operation in the aConstraint array can't reach xFilter. But how is xFilter to know how to set up the cursor when a statement like SELECT * FROM MyTable

[sqlite] What is a virtual table's xSync() callback supposedtodo?

2015-10-26 Thread Johnny Wezel
On 26.10.2015 12:32, Richard Hipp wrote: > On 10/26/15, Johnny Wezel wrote: >> Should it check for external changes on the resource to check for >> concurrency conflicts? The documentation isn't very specific on this. >> > It should push all cached changes into pers

[sqlite] What is a virtual table's xSync() callback supposed to do?

2015-10-26 Thread Johnny Wezel
Should it check for external changes on the resource to check for concurrency conflicts? The documentation isn't very specific on this. Cheers, Johnny

[sqlite] What is a virtual table's xSync() callback supposed to do?

2015-10-25 Thread Johnny Wezel
Should it check for external changes on the resource to check for concurrency conflicts? The documentation isn't very specific on this. Cheers, Johnny