mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
rollback should be done while active flag is on
This commit is contained in:
parent
019e78ec3a
commit
c2ede159a6
1 changed files with 1 additions and 1 deletions
2
dbdimp.c
2
dbdimp.c
|
@ -329,11 +329,11 @@ sqlite_db_disconnect(SV *dbh, imp_dbh_t *imp_dbh)
|
|||
dTHX;
|
||||
int rc;
|
||||
sqlite3_stmt *pStmt;
|
||||
DBIc_ACTIVE_off(imp_dbh);
|
||||
|
||||
if (DBIc_is(imp_dbh, DBIcf_AutoCommit) == FALSE) {
|
||||
sqlite_db_rollback(dbh, imp_dbh);
|
||||
}
|
||||
DBIc_ACTIVE_off(imp_dbh);
|
||||
|
||||
#if 0
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue