[sqlite] Using VACUUM on an empty file will create a default database

2011-11-30 Thread sworddragon2
I'm using sqlite3 3.7.9 on Ubuntu 12.04 dev. If the VACUUM command is used on 
empty files it will create a default database (for example "touch /tmp/test.txt 
&& sqlite3 /tmp/test.txt VACUUM").

If this behaviour is wanted there should be an option to disable this because 
it could destroy complete environments like operation systems.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Using VACUUM on an empty file will create a defaultdatabase

2013-07-25 Thread sworddragon2
I'm not sure what you want to say me. "echo 'garbage' > some/random/file" 
will also overwrite non-empty files which is more problematic.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users