1
0
Fork 0
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:
Kenichi Ishigaki 2009-10-19 05:51:24 +00:00
parent a8ab9bd263
commit 6c8539ef43

View file

@ -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);
}