@@ -874,7 +865,7 @@ public class GUID implements Comparable<GUID>, CatalogEntity {
/**
* This method is _not_ authoritative, if you want to do the actual lookup to see which LFNs point to this GUID then use {@link LFNUtils#getLFN(GUID)}.
* Should only be called when the previous code has filled the cache with known LFN objects.
*
*
* @return the <b>cached</b> LFNs associated to this GUID, from either the internal cache or the G*L_REF tables.
*/
publicSet<LFN>getLFNs(){
...
...
@@ -1020,7 +1011,7 @@ public class GUID implements Comparable<GUID>, CatalogEntity {
/**
* Change the access permissions on this LFN
*
*
* @param newPermissions
* @return the previous permissions, if anything changed and the change was successfully propagated to the database, or <code>null</code> if nothing was touched
*/
...
...
@@ -1065,7 +1056,7 @@ public class GUID implements Comparable<GUID>, CatalogEntity {
/**
* Get the two digit hash (first level of folders in a storage)
*
*
* @param guid
* @return chash
*/
...
...
@@ -1152,7 +1143,7 @@ public class GUID implements Comparable<GUID>, CatalogEntity {
/**
* Get the replica from a particular SE
*
*
* @param seNumber
* @return the PFN to the replica on this storage element, if it exists
finalStringquery="UPDATE PRIORITY p LEFT JOIN QUEUE_USER qu "+"ON qu.user='"+Format.escSQL(username)+"' SET p."+Format.escSQL(fld)+"="+Format.escSQL(val)
+" WHERE qu.userid=p.userid";
finalStringquery="UPDATE PRIORITY p LEFT JOIN QUEUE_USER qu ON qu.user=? SET p."+Format.escSQL(fld)+"=? WHERE qu.userid=p.userid";
db.setQueryTimeout(120);
if(db.query(query)){
if(db.query(query,false,username,val)){
jobQuotasLastUpdated=0;
updateJobQuotasCache();
}
...
...
@@ -226,11 +226,11 @@ public final class QuotaUtilities {