From: rgrosso Date: Wed, 26 Feb 2014 16:00:29 +0000 (+0100) Subject: Correct cleaning of valid ids in QueryCDB X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=78f84046ea50505b5e5b9945b899f0b3b918cf45;p=u%2Fmrichter%2FAliRoot.git Correct cleaning of valid ids in QueryCDB --- diff --git a/STEER/CDB/AliCDBManager.cxx b/STEER/CDB/AliCDBManager.cxx index a8067a35ee8..e9e55f17a5e 100644 --- a/STEER/CDB/AliCDBManager.cxx +++ b/STEER/CDB/AliCDBManager.cxx @@ -503,7 +503,7 @@ AliCDBStorage* AliCDBManager::GetStorage(const AliCDBParam* param) { if( aStorage->GetType() == "alien" || aStorage->GetType() == "local" ) aStorage->QueryCDB(fRun); } - return aStorage; + return aStorage; } } diff --git a/STEER/CDB/AliCDBStorage.cxx b/STEER/CDB/AliCDBStorage.cxx index 64073629c7d..01a7e9712c5 100644 --- a/STEER/CDB/AliCDBStorage.cxx +++ b/STEER/CDB/AliCDBStorage.cxx @@ -439,7 +439,7 @@ void AliCDBStorage::QueryCDB(Int_t run, const char* pathFilter, // In fValidFileIds, clear id for the same 3level path, if any AliDebug(3, Form("Clearing list of CDB Id's previously loaded for path \"%s\"", pathFilter)); AliCDBPath filter(pathFilter); - for (Int_t i=0; i=0; --i) { AliCDBId *rmMe = dynamic_cast(fValidFileIds.At(i)); AliCDBPath rmPath = rmMe->GetAliCDBPath(); if (filter.Comprises(rmPath)) {