Pavel Ivanov wrote:
>> * Getting rid of the old files - I'm on Windows and would need to see
>> the equivalent way of your Unix suggestion.
>>     
>
> I don't think you have good options here. One option is to make
> continuous retries while remove() returns error. Another option I
> believe would be to change SQLite code to open databasses with
> FILE_SHARE_DELETE flag. In this case you will be able to work the same
> way as on Unix.
>   
Thanks again Pavel.  I'll read up more on FILE_SHARE_DELETE.  Either 
way, I could add a cron job to delete anything that's older than an 
hour, I guess.  It would require me to have a buffer space of less than 
50MB, I think - but hard disk space is cheaper.

Cheers,
Mohit.
6/9/2009 | 3:52 AM.

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

Reply via email to