diff -r 71c4b5dd82bb -r e490414a391d dbd/sqlite3/dbd_sqlite3.h --- a/dbd/sqlite3/dbd_sqlite3.h Sun Jul 18 03:42:30 2010 +0000 +++ b/dbd/sqlite3/dbd_sqlite3.h Mon Dec 20 09:01:12 2010 +0000 @@ -10,14 +10,15 @@ typedef struct _connection { sqlite3 *sqlite; int autocommit; + int txn_in_progress; } connection_t; /* * statement object */ typedef struct _statement { + connection_t *conn; sqlite3_stmt *stmt; - sqlite3 *sqlite; int more_data; int affected; } statement_t;