persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp
branchRCL_3
changeset 12 6b6fd149daa2
parent 8 fa9941cf3867
child 23 26645d81f48d
--- a/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp	Wed Apr 14 17:46:32 2010 +0300
+++ b/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp	Tue Apr 27 18:25:57 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-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"
@@ -147,10 +147,6 @@
 	{
 	__SQLASSERT(aIn.Length() <= KMaxFileName, ESqlPanicBadArgument);
 	__SQLASSERT(aOut.MaxLength() >= KMaxFileName, ESqlPanicBadArgument);
-	if(aIn.Length() > KMaxFileName || aOut.MaxLength() < KMaxFileName)
-		{
-		return EFalse;	
-		}
 	TBuf16<KMaxFileName + 1> des;
 	des.Copy(aIn);
 	des.Append(TChar(0));