rem: var dbConn = getDBConnection("antville"); var dbError = dbConn.getLastError(); 
add: var dbConn = getDBConnection("antville"); var dbError = dbConn.getLastError(); 
context: function searchUser(key) {   var result;   if (!key) {      // no keyword to search for      return (getError("searchNoKeyword"));   }	var dbConn = getDBConnection("antville");	var dbError = dbConn.getLastError();   if (dbError)      return (getError("database",dbError));   var query = "select USER_NAME,USER_URL from AV_USER ";   query += "where USER_NAME like '%" + key + "%' order by USER_NAME asc";	var searchResult = dbConn.executeRetrieval(query);	var dbError = dbConn.getLastError();   if (dbError)      return (getError("database",dbError));   var found = 0;   var list = "";   while (searchResult.next() && found < 100) {      var sp = new Object();      sp.name = searchResult.getColumnItem("USER_NAME");      var url = searchResult.getColumnItem("USER_URL");      if (url)         sp.description = "(url: <a href=\"" + url + "\">" + url + "</a>)";      list += this.renderSkinAsString("searchresultitem",sp);      found++;   }   dbConn.release();   if (found == 0)      result = getError("resultNoUser");   else if (found == 1)      result = getConfirm("resultOneUser");   else if (found == 100)      result = getConfirm("resultTooManyUsers");   else      result = getConfirm("resultManyUsers",found);   result.list = list;   result.found = found;   return (result);}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/79aaa88b9acd45afed8bbe8a64dafb337c2f8ef3/objectFunctions.js/buggy/code/MemberMgr/objectFunctions.js