contentpublishingsrv/contentpublishingserver/cpsqlitestorage/src/cpstorageengine.cpp
equal
deleted
inserted
replaced
175 CLiwDefaultList* listOfMaps = CLiwDefaultList::NewLC( ); |
175 CLiwDefaultList* listOfMaps = CLiwDefaultList::NewLC( ); |
176 id = map->AddL( iSqlDb, listOfMaps ); |
176 id = map->AddL( iSqlDb, listOfMaps ); |
177 iDataMapCache.Reset(); |
177 iDataMapCache.Reset(); |
178 map->FindL(KDataMap, iDataMapCache); |
178 map->FindL(KDataMap, iDataMapCache); |
179 iCallback->HandleChangeL( listOfMaps ); |
179 iCallback->HandleChangeL( listOfMaps ); |
|
180 //data cache must be cleaned here, otherwise it can mess up other requests. |
|
181 iDataMapCache.Reset(); |
180 CleanupStack::PopAndDestroy( listOfMaps ) ; |
182 CleanupStack::PopAndDestroy( listOfMaps ) ; |
181 } |
183 } |
182 else |
184 else |
183 { |
185 { |
184 id = map->AddL( iSqlDb ); |
186 id = map->AddL( iSqlDb ); |