Re: [sqlite] Retrieve database modification stamp

2009-05-04 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Harper wrote: > Is there any official way of obtaining the database modification counter? No. The closest is the schema version which only changes when the schema changes. There is also a user version you can use in your own code. See

[sqlite] Retrieve database modification stamp

2009-05-04 Thread Ben Harper
Hi, Is there any official way of obtaining the database modification counter? I'm talking about the counter that is mentioned in the Atomic Commit docs: " In order to determine whether or not the database file has changed, SQLite uses a counter in the database header (in bytes 24 through 27)