From 4e091e58c0e124ed46f33439535d9316c57e4612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 15 Dec 2011 08:37:05 -0500 Subject: [PATCH] Bug 710708 - Finalize statement. r=mak. --- .../tests/migration/test_database_from_v6_no_frecency.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolkit/components/places/tests/migration/test_database_from_v6_no_frecency.js b/toolkit/components/places/tests/migration/test_database_from_v6_no_frecency.js index 005193873bcf..dba00a8b69bf 100644 --- a/toolkit/components/places/tests/migration/test_database_from_v6_no_frecency.js +++ b/toolkit/components/places/tests/migration/test_database_from_v6_no_frecency.js @@ -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();