The comment that was added at the same time as the assertion was commented out explains it pretty well.
If behaviour when the system fails to allocate memory is important to you, I recommend upgrading to version 3. Version 3 handles this condition much more reliably than version 2 does. It doesn't seem likely to me that anyone will look closely at version 2 in that respect anytime soon. --- Vineeth R Pillai <[EMAIL PROTECTED]> wrote: > > Note: forwarded message attached. > Could any body plz look into this matter and provide > me with some help :-) I have posted this once but > couldnt get any reply.. > > Hoping for a response from sqlite techies.... > > regards > vineeth > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > Date: Tue, 5 Apr 2005 03:44:18 -0700 (PDT) > From: Vineeth R Pillai <[EMAIL PROTECTED]> > To: sqlite-users@sqlite.org, [EMAIL PROTECTED] > Subject: [sqlite] assertion failing in pager.c :( > > Hi, > > Can anybody help me with this problem > > I want to know why the assert statement > > assert( pPg->nRef==0 || pPg->pgno==1 ); > > is written in the pager_playback_one_page() function > in the pager.c file(line no:573). That assertion is > failing when the memory is low. To be more explanative > while memory becomes low sqliteOswrite() fails and > tryies to roll back. Rollback inturn calls the above > mentioned function and then it fails at the assertion. > I dont see any need for that assertion. More over if u > can see, the assertion is commented in the latest > version sqlite 3.2.0. > > I am using the version 2.8.15 > > A big thanks in advance :) > > regards vineeth > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/