On Wed, Jan 26, 2011 at 12:20 AM, Roger Binns <[email protected]> wrote:

> -
> A far better solution ... would be to bump
> the VFS version number to 3


Suppose we rig the default VFSes so that they return SQLITE_OK for
SQLITE_FCNTL_SYNC_OMITTED, instead of SQLITE_ERROR, so that your
intermediate layer doesn't throw an exception?  Would that solve your
problem, Roger?

Another solution we talked about was having the xFileControl method in the
VFS object return SQLITE_NOTFOUND instead of SQLITE_ERROR if it gets an
unknown opcode.  That too would solve your problem, wouldn't it?  Would it
break anything else?


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to