Re: [sqlite] Does SQLite do any file editing when you close a database ?

2017-04-06 Thread Olivier Mascia
> Le 6 avr. 2017 à 17:44, Simon Slavin a écrit : > > Can anyone point out anything that’s done to files when you close a database ? For one thing, when the last database connection on a database file closes SQLite does checkpoint whatever remains in the wal. Which in that

[sqlite] Does SQLite do any file editing when you close a database ?

2017-04-06 Thread Simon Slavin
I know that the SQLite "_open()" calls are fakes. The file is not really opened until the first operation which needs to access it. However, triggered by another post to this forum I’m not curious about "_close()" calls. I used to think that SQLite did clear-up work when you closed a file.