mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD::SQLite: sqlite3_next_stmt returns a pointer or NULL, not SQLITE_OK
This commit is contained in:
parent
a8ab9bd263
commit
6c8539ef43
1 changed files with 1 additions and 1 deletions
2
dbdimp.c
2
dbdimp.c
|
@ -155,7 +155,7 @@ sqlite_db_disconnect(SV *dbh, imp_dbh_t *imp_dbh)
|
|||
sqlite_db_rollback(dbh, imp_dbh);
|
||||
}
|
||||
|
||||
while ( (pStmt = sqlite3_next_stmt(imp_dbh->db, 0)) != SQLITE_OK ) {
|
||||
while ( (pStmt = sqlite3_next_stmt(imp_dbh->db, 0)) != NULL ) {
|
||||
sqlite3_finalize(pStmt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue