Hello list

 

I'm using SQLite with a custom VFS on an embedded platform. I'd like to
place an upper (soft) limit on the amount of disk space used by a
database - i.e. the sum of the main database file size, journal file
size, and any associated temp file sizes. At the VFS level, is there any
way to determine which database an sqlite3_file* belongs to?

 

There was an interesting thread on this topic last year involving
sqlite3_file_control():

http://www.nabble.com/How-to-limit-the-size-of-the-database-files--td201
29606.html

 

However I think sqlite3_file_control() can only be used to access the
sqlite3_file* object corresponding to the main database file, not the
journal or temp files.

 

Cheers,

Dave.

 

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

Reply via email to