equal
deleted
inserted
replaced
241 if ( !GetStoredInDB() ) |
241 if ( !GetStoredInDB() ) |
242 { |
242 { |
243 rowData.AppendL( TColumn( aNamespaceDefId ) ); |
243 rowData.AppendL( TColumn( aNamespaceDefId ) ); |
244 rowData.AppendL( TColumn( iParent ? iParent->GetId() : KNoDefId ) ); |
244 rowData.AppendL( TColumn( iParent ? iParent->GetId() : KNoDefId ) ); |
245 rowData.AppendL( TColumn( (TInt32)iFlags ) ); |
245 rowData.AppendL( TColumn( (TInt32)iFlags ) ); |
246 rowData.AppendL( TColumn( GetName().AllocL() ) ); |
246 rowData.AppendL( TColumn( GetName().AllocLC() ) ); |
|
247 CleanupStack::Pop(); // name |
247 |
248 |
248 TDefId id = MMdSIndexer::ExecuteAndGetIndexL( KMdsSqlClauseAddObjectDef,rowData ); |
249 TDefId id = MMdSIndexer::ExecuteAndGetIndexL( KMdsSqlClauseAddObjectDef,rowData ); |
249 |
250 |
250 SetId( id ); |
251 SetId( id ); |
251 SetStoredInDB(); |
252 SetStoredInDB(); |