Bug 713284 - finalize statement in test_migration_to_2.js. r=mak.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Wed, 28 Dec 2011 10:42:42 -0500
changeset 84684 bf56294c4c87fd563560c3875597bb523658b1b2
parent 84683 f9572e5ab8956f0a4cb92ebb78c1a90125c76e37
child 84685 c248c37f9cf79d19db1dff153cf599066519e895
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)
reviewersmak
bugs713284
milestone12.0a1
Bug 713284 - finalize statement in test_migration_to_2.js. r=mak.
toolkit/components/downloads/test/schema_migration/test_migration_to_2.js
--- a/toolkit/components/downloads/test/schema_migration/test_migration_to_2.js
+++ b/toolkit/components/downloads/test/schema_migration/test_migration_to_2.js
@@ -69,13 +69,13 @@ function run_test()
   do_check_eq("381603.patch", stmt.getString(0));
   do_check_eq("https://bugzilla.mozilla.org/attachment.cgi?id=266520",
               stmt.getUTF8String(1));
   do_check_eq("file:///Users/sdwilsh/Desktop/381603.patch",
               stmt.getUTF8String(2));
   do_check_eq(1180493839859230, stmt.getInt64(3));
   do_check_eq(1180493839859230, stmt.getInt64(4));
   do_check_eq(1, stmt.getInt32(5));
-  stmt.reset();
+  stmt.finalize();
 
   cleanup();
 }