Bug 713291 - finalize statement in test_migration_to_6.js.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Wed, 28 Dec 2011 10:28:15 -0500
changeset 84680 b48de56f7d119fd4723d34f933aa58f1efecb3f5
parent 84679 f4e51ad29002833a476b93d8aa69ad29b22d5ad8
child 84681 e96c48e7e91992c4d1ea4ccaa1a5784102f0c15e
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs713291
milestone12.0a1
Bug 713291 - finalize statement in test_migration_to_6.js.
toolkit/components/downloads/test/schema_migration/test_migration_to_6.js
--- a/toolkit/components/downloads/test/schema_migration/test_migration_to_6.js
+++ b/toolkit/components/downloads/test/schema_migration/test_migration_to_6.js
@@ -68,12 +68,12 @@ function run_test()
   do_check_eq(1187390974170783, stmt.getInt64(3));
   do_check_eq(1187391001257446, stmt.getInt64(4));
   do_check_eq(1, stmt.getInt32(5));
   do_check_eq("http://www.mozilla.com/en-US/products/download.html?product=firefox-2.0.0.6&os=osx&lang=en-US",stmt.getUTF8String(6));
   do_check_true(stmt.getIsNull(7));
   do_check_true(stmt.getIsNull(8));
   do_check_eq(0, stmt.getInt64(9));
   do_check_eq(-1, stmt.getInt64(10));
-  stmt.reset();
+  stmt.finalize();
 
   cleanup();
 }