;[EMAIL PROTECTED]>
To:
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.
SQLit
, 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
ret
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
IL PROTECTED]>
To:
Sent: Monday, August 22, 2005 4:34 PM
Subject: Re: [sqlite] catching asserts from sqlite
On Mon, 2005-08-22 at 16:09 -0700, Noel Burton-Krahn wrote:
Sqlite throws an assert() and crashes when it reads a corrupt db.
(Sqlite
is fine, our recording medium is flaky.) I'
On Mon, 2005-08-22 at 16:09 -0700, Noel Burton-Krahn wrote:
> Sqlite throws an assert() and crashes when it reads a corrupt db. (Sqlite
> is fine, our recording medium is flaky.) I'd like to catch the assert() and
> report an error without crashing.
>
> The problem is, sqlite throws assert() f
Sqlite throws an assert() and crashes when it reads a corrupt db. (Sqlite
is fine, our recording medium is flaky.) I'd like to catch the assert() and
report an error without crashing.
The problem is, sqlite throws assert() from functions that don't return an
error code. So, there's no way t
6 matches
Mail list logo