persistentstorage/sql/TEST/t_sqlcompact2.cpp
branchRCL_3
changeset 12 6b6fd149daa2
parent 0 08ec8eefde2f
equal deleted inserted replaced
11:211563e4b919 12:6b6fd149daa2
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   833 			{
   833 			{
   834 			err = KErrNone;
   834 			err = KErrNone;
   835 			break;	
   835 			break;	
   836 			}
   836 			}
   837 		
   837 		
   838 		(void)TheFs.SetErrorCondition(err, ++ioCounter);
   838 		(void)TheFs.SetErrorCondition(err, ioCounter++);
   839 
   839 
   840 		CSqlCompactEntry* impl = compactor->iEntries[0];
   840 		CSqlCompactEntry* impl = compactor->iEntries[0];
   841 		impl->iPageCount = freePageCount2;
   841 		impl->iPageCount = freePageCount2;
   842 		err = impl->Compact();
   842 		err = impl->Compact();
   843 		
   843