persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp
branchGCC_SURGE
changeset 38 c4e342fcf0c8
parent 22 a7ba600cb39d
child 31 ba1c4f4a893f
--- a/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp	Mon Jun 21 22:46:09 2010 +0100
+++ b/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp	Thu Jul 22 16:49:09 2010 +0100
@@ -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));