On Sat, 2005-08-20 at 13:36 -0700, Will Leshner wrote:
> On Aug 20, 2005, at 9:21 AM, D. Richard Hipp wrote:
> 
> > SQLite never "blows away" a file that is not a database.
> 
> Sorry to use such crude language :) But I believe I have run into an  
> issue with SQLite reformatting a non-sqlite file as a SQLite  
> database. I will try to reconstruct the problem and report back if I  
> can.
> 

There might be a bug.  If SQLite sees a file that is less
than 1024 bytes in length, it might assume (mistakenly) that
it is empty and then overwrite it.  I'll have to check on
that.  If it does, this should be considered a bug.

Certainly if the file is 1024 bytes or larger SQLite
should never overwrite it.  If you find a case where
it does, please fill out a bug report.
-- 
D. Richard Hipp <[EMAIL PROTECTED]>

Reply via email to