diff -r d6ef85bc5971 -r a7ba600cb39d persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp --- a/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp Fri May 14 17:36:33 2010 +0300 +++ b/persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp Thu May 27 14:29:47 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 des; des.Copy(aIn); des.Append(TChar(0));