[ andr3a ] [Tue, Apr 20, 2004 at 07:51:54PM +0200]:
> SQLite create file and remember all operations during a single session , if
> I try to reopen file or reconnect to db used, it 'll be empty.
> Does anyone know why ? Version is 0.5.0 of PySqlite and the test is this:

This is normal Python DB API functionality, which involves transactions.

Either open the database in autocommit mode (and then you can use
begin/commit on your own), or do a better thing - execute cx.commit() when
you want to close the transaction (thus save the data).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to