sdwilsh wrote:Guest wrote:Viewing or editing an sqlite database is NOT an unsupported thing.
As a peer of Firefox's history and bookmarking engine, and the owner of its SQLite wrapper, I can say with 100% certainty that it's not something that Mozilla supports.
That's ridiculous. Why shouldn't you be able to view or edit Firefox's database files as long as it's not running ?
Anonymosity wrote:Where are those block sizes for cookies.sqlite and places.sqlite? Is there any way to change those? I cannot see that I am ever going to need 512 KB to store cookies. I block them by default, and the number of sites allowed to set persistent cookies is perhaps 10 or 12. There ought to be a way to change the default block size.
They probably have those excessive block sizes hardcoded in the C code with no preference to change them. Probably some of the developers have really big sqlite files and assume that everyone has huge files. I still have SeaMonkey 2.0 (same codebase as Firefox 3.5) and the relevant sqlite file sizes there are as follows:
cookies.sqlite: 4KB
formhistory.sqlite: 7KB
places.sqlite: 228KB (this is the largest of the sqlite files)
urlbarhistory.sqlite: 2KB
512KB for cookies and 10MB for places is a waste of disk space. More reasonable block sizes would be 64KB and 1MB respectively. If you don't agree then how about at least providing a preference to change this and check that the specified value is a power of two between 4KB and 16MB.