add: stmt.finalize(); 
context: function test_aggregate_result(){  var sas = 0;  for(var i = 0; i < testNums.length; ++i) {    sas += testNums[i] * testNums[i];  }  var stmt = createStatement("SELECT test_sas_aggr(id) FROM function_tests");  stmt.executeStep();  do_check_eq(sas, stmt.getInt32(0));  testSquareAndSumFunction.reset();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/ce9577407ad2dc158bf54b1f149502ab79ba8f0c/test_storage_aggregates.js/buggy/storage/test/unit/test_storage_aggregates.js