Re: [sqlite] How to limit the size of the database files?

2008-10-24 Thread Tobias Müller
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

[sqlite] How to limit the size of the database files?

2008-10-23 Thread Tobias Müller
files using some API. Or is there a way to calculate the size of the journal and temporary files in advance if the current data of the database and the data to be inserted/changed/deleted is known? Thank you for your help. Best regards Tobias -- Tobias Müller PTV AG Mobile Solutions E-Mail