diff -r 26645d81f48d -r cc28652e0254 persistentstorage/sql/SRC/Server/SqlSrvMain.h --- a/persistentstorage/sql/SRC/Server/SqlSrvMain.h Tue Aug 31 16:57:14 2010 +0300 +++ b/persistentstorage/sql/SRC/Server/SqlSrvMain.h Wed Sep 01 12:39:58 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -17,7 +17,7 @@ #define __SQLSRVMAIN_H__ #include -#include "SqlAssert.h" //TSqlPanic +#include "SqlPanic.h" //TSqlPanic #include "SqlSrvFileData.h" //TSqlSrvFileData #include "SqlSrvAuthorizer.h" //MSqlPolicyInspector #include "SqlSrvSecurityMap.h" // @@ -90,7 +90,7 @@ void GetCollationDllNameL(); void CacheDbConfigFileNamesL(RFs& aFs, const TDesC& aServerPrivatePath); TInt ReAllocBuf(TInt aNewBufSize); - void DeleteTempFilesL(TInt aDriveNumber, const TDesC& aServerPrivatePath) const; + void DeleteTempFilesL(TInt aDriveNumber, const TDesC& aServerPrivatePath)const; private: TSqlSrvFileData iFileData; //Used as a temporary storage for file data (file name, drive, path, secure uid) @@ -163,7 +163,7 @@ */ inline CSqlCompactor& CSqlServer::Compactor() { - __ASSERT_DEBUG(iCompactor != NULL, __SQLPANIC(ESqlPanicInternalError)); + __SQLASSERT(iCompactor != NULL, ESqlPanicInternalError); return *iCompactor; }