Re: [sqlite] sqlite3DbMallocRaw problem

2012-09-09 Thread David Levinson
All, I wanted to revise my last email regarding the failure within sqlite3DbMallocRaw() ... The point of failure is "db->lookaside.pFree = pBuf->pNext;" and it appears that pBuf points to an invalid memory location since Windows report a memory access violation. Does anyone know how to

[sqlite] sqlite3DbMallocRaw problem

2012-09-09 Thread David Levinson
All, In the sqlite3DbMallocRaw() function I just encountered a failure where pBuf is undefined and causes a crash on "db->lookaside.pFree = pBuf->pNext". I see that pBuf is created (not initialized) and then later a check is made for pBuf (null) -> pNext and poof my app crashes. I have no

[sqlite] SQLite Locking Issue From Another Process

2011-11-23 Thread David Levinson
We have Process A which writes constantly to our SQLite database and we have Process B which occasionally reads from this same database. When Process B opens the database for read-only access and performs a select statement on the database it causes Process A to get SQLITE_BUSY errors when

Re: [sqlite] SQLITE3 - sqlite3_step bug?

2010-11-13 Thread David Levinson
, November 12, 2010 1:17 PM To: David Levinson; sqlite-users@sqlite.org Subject: Re: SQLITE3 - sqlite3_step bug? On Fri, Nov 12, 2010 at 1:06 PM, David Levinson <dlevin...@worldnow.com> wrote: I have an 11GB database and when I attempt to query the database for the max(column) value the code