mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/src/mpxdbartist.cpp
branchRCL_3
changeset 14 943ff5625028
parent 2 b70d77332e66
equal deleted inserted replaced
11:13afc0e517bd 14:943ff5625028
   333 
   333 
   334     if (setStr->Length())
   334     if (setStr->Length())
   335         {
   335         {
   336         // execute the query
   336         // execute the query
   337         iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId);
   337         iDbManager.ExecuteQueryL(aDriveId, KQueryArtistUpdate, setStr, aId);
   338         TInt oldSongId = (aMedia.ValueTObjectL<TMPXItemId>(KMPXMediaGeneralId)).iId2;
   338         MPXDbCommonUtil::AddItemAlbumChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   339         MPXDbCommonUtil::AddItemChangedMessageL(*aItemChangedMessages, aId, EMPXItemModified,
   339         		EMPXArtist, KDBPluginUid, ETrue, 0 );          
   340             EMPXArtist, KDBPluginUid, oldSongId );
       
   341         }
   340         }
   342 
   341 
   343     CleanupStack::PopAndDestroy(setStr);
   342     CleanupStack::PopAndDestroy(setStr);
   344     CleanupStack::PopAndDestroy(values);
   343     CleanupStack::PopAndDestroy(values);
   345     CleanupStack::PopAndDestroy(fields);
   344     CleanupStack::PopAndDestroy(fields);