I wrote too soon: http://www.sqlite.org/cvstrac/chngview?cn=3941
+ /* + ** Maximum number of pages in one database file. + */ + #ifndef SQLITE_MAX_PAGE_COUNT + # define SQLITE_MAX_PAGE_COUNT 1073741823 + #endif --- Joe Wilson <[EMAIL PROTECTED]> wrote: > --- Ron Stevens <[EMAIL PROTECTED]> wrote: > > Is it possible to tell SQLite to limit the size that a database may > > grow to? It would be useful for storage constrained applications. > > This is a tricky problem. > > What would you have the database do if an insert failed upon reaching > the limit? > > What about the space for the journal files? > > You could change the I/O subsystem's seek and write calls to have them > fail upon exceeding a threshold, but I'm not certain if that's useful. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------