Bug 713242 - finalize statements in test_removeDownloadsByTimeframe.js. r=mak.

This commit is contained in:
Rafael Ávila de Espíndola 2011-12-28 10:02:25 -05:00
parent c45874a80f
commit c263d22263

View File

@ -81,6 +81,7 @@ function add_download_to_db(aStartTimeInRange, aEndTimeInRange, aState)
stmt.params.endTime = aEndTimeInRange ? END_TIME - 1 : END_TIME + 1;
stmt.params.state = aState;
stmt.execute();
stmt.finalize();
return id++;
}
@ -108,6 +109,7 @@ function check_existence(aIDs, aExpected)
checkFunc(stmt.executeStep());
stmt.reset();
}
stmt.finalize();
}
////////////////////////////////////////////////////////////////////////////////