[sqlite] How to create connection life-time object?

2013-07-25 Thread Dušan Paulovič
Hello, is there a way to somehow set a connection life-time object? I mean something like: Let's imagine you are working with some sqlite3 connection and want so share same data with extensions, but must be guaranteed, that object gets destroyed when connection is closed. For now, I use creating

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

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

2013-07-25 Thread Paolo Bolzoni
I also have hard time follow... My answer would be: "yes," What is the problem? On Thu, Jul 25, 2013 at 8:51 AM, wrote: > 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. > > _

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

2013-07-25 Thread Igor Tandetnik
On 7/25/2013 2:51 AM, sworddrag...@aol.com wrote: 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. Precisely. So do you believe there should be an option to disable echo command? Or rm command? Or cp comman