mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 710708 - Finalize statement. r=mak.
This commit is contained in:
parent
ed5855c04c
commit
4e091e58c0
@ -10,7 +10,8 @@ add_test(function database_is_valid() {
|
||||
do_check_eq(PlacesUtils.history.databaseStatus,
|
||||
PlacesUtils.history.DATABASE_STATUS_UPGRADED);
|
||||
// This throws if frecency column does not exist.
|
||||
DBConn().createStatement("SELECT frecency from moz_places");
|
||||
stmt = DBConn().createStatement("SELECT frecency from moz_places");
|
||||
stmt.finalize();
|
||||
// Check moz_inputhistory is in place.
|
||||
do_check_true(DBConn().tableExists("moz_inputhistory"));
|
||||
run_next_test();
|
||||
|
Loading…
x
Reference in New Issue
Block a user