Roger Binns wrote:

> You can write your own VFS that gives an I/O error on writes that make
> the file larger than you want.  This won't be much code since you can
> just point to existing VFS routines (eg unix/winTruncate, unix/winLock
> etc) for most of the code.

After a first look, this really looks not too hard to do. Thanks!

> For an even smaller footprint change, you can write your own
> xFileControl routine and then use sqlite3_file_control to
> query/set values.

By "write your own xFileControl routine" did you mean that we should change the 
SQLite source to support our query? Or is it possible to register a new 
xFileControl function using some API call?

Tobias
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to