Thanks, that makes sense.

But I can pretty much rule this case out. In my case, it's highly unlikely that 
the folder would be moved during the brief instant between _open() and the 
actual opening of the "-journal" file.

Are there other possible cases of corruption?

----------------------------------------
> Date: Sat, 30 Nov 2013 22:26:21 +0100
> From: clem...@ladisch.de
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] Concrete example of corruption
>
> L. Wood wrote:
>> /Users/lwood/Desktop/folder/db.sqlite
>>
>> Suppose I can only move/rename the *folder*. Suppose I never mess with the 
>> folder's contents.
>>
>> Can you name me a concrete example of corruption that could occur?
>
> 1. Open "/Users/lwood/Desktop/folder/db.sqlite".
> 2. Rename the folder.
> 3. Try to open "/Users/lwood/Desktop/folder/db.sqlite-journal".
>
>
> Regards,
> Clemens
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users                  
>                   
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to