On Fri, Jul 21, 2017 at 11:55 AM, Peter Da Silva
<peter.dasi...@flightaware.com> wrote:
> If SQLite3 can open the file at all, the first 16 characters will be "SQLite 
> format 3\000".

Or "SQLite format 4\000" soon.
Or "SQLite format 3\000" for an ancient db file.

Thank you.

>
> On 7/21/17, 10:46 AM, "sqlite-users on behalf of Igor Korot" 
> <sqlite-users-boun...@mailinglists.sqlite.org on behalf of 
> ikoro...@gmail.com> wrote:
>
>     Hi, Peter et al,
>
>     On Fri, Jul 21, 2017 at 11:35 AM, Peter Da Silva
>     <peter.dasi...@flightaware.com> wrote:
>     > The problem is that SQLITE_VERSION_NUMBER is not “the database 
> version”, it’s something like “the last version of SQLite that committed a 
> transaction”.
>     >
>     > The database version number is “3”.
>
>     I guess it is not stored anywhere.
>
>     That's OK. I will just read and parse first 16 characters of the file...
>
>     Thank you.
>
>     >
>     >
>     > _______________________________________________
>     > sqlite-users mailing list
>     > sqlite-users@mailinglists.sqlite.org
>     > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>     _______________________________________________
>     sqlite-users mailing list
>     sqlite-users@mailinglists.sqlite.org
>     http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to