It says "ok"! I manage to get the same error corruption again.

I removed the defines "SQLITE_ENABLE_COLUMN_METADATA" and
"SQLITE_ENABLE_MEMORY_MANAGEMENT".

/PN

On 02/26/2012 10:19 PM, Simon Slavin wrote:
> 
> On 26 Feb 2012, at 8:40pm, Patrik Nilsson <nipatriknils...@gmail.com> wrote:
> 
>> Yes. My program starts two thread, the main one and a worker. There are
>> mutexes so only one at a time can the sqlite interface.
> 
> Hmm.  Once you have done the thing that apparently corrupts your database, 
> quit your app and use the sqlite3 command-line tool to look at your database. 
>  Run
> 
> PRAGMA integrity_check; 
> 
> and also have it display the field which you think is corrupt and check that 
> the corrupt value really is stored in the database rather than just being 
> returned by your SELECT command.
> 
> Simon.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to