Hi Simon,

On 20:59 Simon Slavin said the following:
 >
 > On 19 Dec 2010, at 2:56pm, Michael Steiger wrote:
 >
 >> sqlite3_prepare_v2, sqlite3_step, sqlite_column_*, ...: to read data
 >
 > erm ... sqlite3_finalize() ?
Is already there (just forgot to mention it)


 > http://www.sqlite.org/c3ref/stmt.html
 >
 >> If I try to reproduce this sequence using sqlite3 the problem does not
 >> occur (qed).
 >
 > Sorry, I thought sqlite3 was what got you the problem.
Nope. Using sqlite3 either it works or it shows the error.


In the meantime I further analyzed the problem and I also looked at the 
corrupt databasefile. To my surprise it contained some logfile output 
from another library I am using. It seems that if I turn on logging for 
this library some log output is written to the database file. But I have 
absolutely no idea how this mixup can happen.

If I switch off logging everything works as expected.
I also know now why it works on Windows. This library is HW-dependent 
and therefore not running on my PC.


Still clueless
Michael
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to