equal
deleted
inserted
replaced
1000 transaction.CommitL(); |
1000 transaction.CommitL(); |
1001 |
1001 |
1002 CleanupStack::PopAndDestroy( &transaction ); |
1002 CleanupStack::PopAndDestroy( &transaction ); |
1003 } |
1003 } |
1004 |
1004 |
|
1005 void CMdSManipulationEngine::CheckMassStorageMediaIdL( const TUint32 aMediaId ) |
|
1006 { |
|
1007 CMdSSqLiteConnection& connection = MMdSDbConnectionPool::GetDefaultDBL(); |
|
1008 RMdSTransaction transaction( connection ); |
|
1009 CleanupClosePushL( transaction ); |
|
1010 User::LeaveIfError( transaction.Error() ); |
|
1011 |
|
1012 iManipulate->CheckMassStorageMediaIdL( aMediaId ); |
|
1013 |
|
1014 transaction.CommitL(); |
|
1015 |
|
1016 CleanupStack::PopAndDestroy( &transaction ); |
|
1017 } |
|
1018 |
1005 void CMdSManipulationEngine::AddRelationDefL( TDefId aNamespaceId, const TDesC& aRelationDefName ) |
1019 void CMdSManipulationEngine::AddRelationDefL( TDefId aNamespaceId, const TDesC& aRelationDefName ) |
1006 { |
1020 { |
1007 CMdsNamespaceDef* namespaceDef = CONST_CAST( CMdsNamespaceDef*, iSchema.GetNamespaceByIdL( aNamespaceId ) ); |
1021 CMdsNamespaceDef* namespaceDef = CONST_CAST( CMdsNamespaceDef*, iSchema.GetNamespaceByIdL( aNamespaceId ) ); |
1008 if ( !namespaceDef ) |
1022 if ( !namespaceDef ) |
1009 { |
1023 { |