$OpenBSD: patch-dbd_sqlite3_dbd_sqlite3_h,v 1.1.1.1 2012/08/16 15:21:30 jasper Exp $ Fix DBD.SQLite3 transaction handling From upstream svn rev 75 --- dbd/sqlite3/dbd_sqlite3.h.orig Fri Dec 19 07:33:32 2008 +++ dbd/sqlite3/dbd_sqlite3.h Sun Jul 22 22:23:54 2012 @@ -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;