metadataengine/server/src/mdsmaintenanceengine.cpp
branchRCL_3
changeset 8 50de4d668bb6
parent 6 646a02f170b9
child 9 82c0024438c8
equal deleted inserted replaced
7:3cebc1a84278 8:50de4d668bb6
   114 // InstallL
   114 // InstallL
   115 // ------------------------------------------------
   115 // ------------------------------------------------
   116 //
   116 //
   117 void CMdSMaintenanceEngine::InstallL( CMdSManipulationEngine& aManipulate, CMdsSchema& aSchema )
   117 void CMdSMaintenanceEngine::InstallL( CMdSManipulationEngine& aManipulate, CMdsSchema& aSchema )
   118     {
   118     {
       
   119     __LOG1( ELogAlways, "Trying to validate MDS DB, error expected if not created(first boot): %d", 0 );
   119     if ( !(iMaintenance->ValidateL( ) ) )
   120     if ( !(iMaintenance->ValidateL( ) ) )
   120         {
   121         {
   121         // first-time init: re-form the database completely
   122         // first-time init: re-form the database completely
   122     	iMaintenance->CreateDatabaseL( );
   123     	iMaintenance->CreateDatabaseL( );
   123 		const TUint KMdSServerUid = 0x0320e65f; // temporal uid
   124 		const TUint KMdSServerUid = 0x0320e65f; // temporal uid