diff -r ba32e40d9f36 -r c4e342fcf0c8 persistentstorage/sql/SRC/Server/SqlSrvUtil.cpp --- 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 des; des.Copy(aIn); des.Append(TChar(0));