On 25 Nov 2010, at 12:51, Igor Tandetnik <itandet...@mvps.org> wrote:

> Run "PRAGMA integrity_check" right after opening.

That could be a potentially slow operation if the database is valid and 
contains lots of records.

Wouldn't be better to issue a SELECT statement and let SQLite come back with a 
SQLITE_NOTADB error right away?

-- Tito
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to