diff -r 7a522c0700d3 -r cce6680bbf1c persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp --- a/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp Fri May 14 13:32:10 2010 +0100 +++ b/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp Thu Jul 01 17:02:22 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 des; des.Copy(aIn); des.Append(TChar(0));