Yea, but it should have returned an error code or something, not an access violation.
-----Original Message----- From: Jay Sprenkle [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 9:54 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] DETACHing database after sqlite3_step, but before sqlite3_finalize causes crash in btree.c On 9/1/05, Damian Slee <[EMAIL PROTECTED]> wrote: > > > Work arounds are to call sqlite3_finalize on the query (to cleanup) > before detaching, or only selecting the top N in the first place. > > I don't know the internals well enough to fix it myself.. Sounds like you found your answers already ;) --- The Castles of Dereth Calendar: a tour of the art and architecture of Asheron's Call http://www.lulu.com/content/77264 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 31/08/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 31/08/2005