diff -r 28839de615b4 -r 26645d81f48d persistentstorage/sql/SRC/Server/SqlSrvMain.h --- a/persistentstorage/sql/SRC/Server/SqlSrvMain.h Thu Aug 19 11:36:21 2010 +0300 +++ b/persistentstorage/sql/SRC/Server/SqlSrvMain.h Tue Aug 31 16:57:14 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2005-2010 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 "SqlPanic.h" //TSqlPanic +#include "SqlAssert.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() { - __SQLASSERT(iCompactor != NULL, ESqlPanicInternalError); + __ASSERT_DEBUG(iCompactor != NULL, __SQLPANIC(ESqlPanicInternalError)); return *iCompactor; }