Really? Great. I'll try one of my corrupt files against the latest sqlite then. If it still asserts, I'll attach the db to a new bug report.

Thanks,

--Noel

----- Original Message ----- From: "D. Richard Hipp" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, August 22, 2005 5:11 PM
Subject: Re: [sqlite] catching asserts from sqlite


On Mon, 2005-08-22 at 16:48 -0700, Noel Burton-Krahn wrote:

The bug's not in SQLite. We're recording in an environment where disk files
can become corrupted.

SQLite is suppose to respond to a corrupt disk file by
returning the SQLITE_CORRUPT error code.  If instead it
hits an assert, that indicates a bug in SQLite.

The regression tests for SQLite read literally thousands
of examples of corrupt databases trying to verify that
SQLITE_CORRUPT is always returned correctly.  But trying
to identify every possible form of file corruption is hard.
Clearly you have found a case we have missed.  Please report
it.
--
D. Richard Hipp <[EMAIL PROTECTED]>



Reply via email to