Re: [sqlite] sqlite3_finalize(transaction_stmt) nonsense ?

2010-01-29 Thread Joost
And yes - i failed at another point: hangup() must work so: PyObject *LiteLineUp_HangUp(litelineup *self) { Py_ssize_t i = 0; if (self->COMMIT_stmt) { sqlite3_finalize(self->COMMIT_stmt); self->COMMIT_stmt = NULL; } while (L3LSELF->update_stmts[i++]) sqlite3_finalize(self-

[sqlite] sqlite3_finalize(transaction_stmt) nonsense ?

2010-01-28 Thread Joost
Hm - yes, i thought so too and was very astonished identifying those lines as the supposed cause of crashing. But without them everything seems to work well, there is no segfault at ending the test script too (as there is with errors at Python's reference counts). Then something else must be

Re: [sqlite] sqlite3_finalize(transaction_stmt) nonsense ?

2010-01-28 Thread Dan Kennedy
On Jan 29, 2010, at 1:17 PM, Joost wrote: > Hi all, > > at first i want to say a big "Thank you" to all sqlite developers. > Using > sqlite with Python since 4 years i always (when suited) announce > sqlite > in my examples for great open source software - indeed i see it as > one > of

[sqlite] sqlite3_finalize(transaction_stmt) nonsense ?

2010-01-28 Thread Joost
Hi all, at first i want to say a big "Thank you" to all sqlite developers. Using sqlite with Python since 4 years i always (when suited) announce sqlite in my examples for great open source software - indeed i see it as one of the best pieces of software in the world. The same can be said for