commsfwtools/preparedefaultcommsdatabase/src/CommsDatSessionImpl.cpp
branchRCL_3
changeset 26 b564fb5fd78b
parent 25 9d7ce34704c8
equal deleted inserted replaced
25:9d7ce34704c8 26:b564fb5fd78b
   155     if (iCommsStorage)
   155     if (iCommsStorage)
   156         {
   156         {
   157         return KErrNone;
   157         return KErrNone;
   158         }
   158         }
   159     
   159     
   160 #ifdef __FLOG_ACTIVE
   160     __FLOG_STATIC1(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::ConstructL() constructing session object object <%08x>"), this);
   161     RThread self;
   161     
   162     TBuf<KMaxFullName> name;
       
   163     self.FullName(name);
       
   164     __FLOG_STATIC2(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::ConstructL() constructing session object <%08x> in thread \"%S\""), this, &name);
       
   165 #endif
       
   166 
       
   167     EstablishVersionL(aRequiredVersion); 
   162     EstablishVersionL(aRequiredVersion); 
   168  
   163  
   169     // Connect to the repository
   164     // Connect to the repository
   170     iCommsStorage = ::CRepository::NewL(KCDCommsRepositoryId);
   165     iCommsStorage = ::CRepository::NewL(KCDCommsRepositoryId);
   171    
   166    
   190 No session required with Central repository
   185 No session required with Central repository
   191 
   186 
   192 @internalComponent
   187 @internalComponent
   193 */
   188 */
   194     {
   189     {
   195     __FLOG_STATIC1(KLogComponent, KCDInfoLog, _L("*** CMDBSessionImpl::Close() closing session object <%08x>"), this);
       
   196 #ifndef __TOOLS2__
   190 #ifndef __TOOLS2__
   197     TRAPD(
   191     TRAPD(
   198         err, 
   192         err, 
   199         
   193         
   200         // Don't signal any roll-back, the reason we're performing a roll-back is because
   194         // Don't signal any roll-back, the reason we're performing a roll-back is because