persistentstorage/sql/TEST/t_sqloom3.cpp
branchRCL_3
changeset 11 211563e4b919
parent 0 08ec8eefde2f
--- a/persistentstorage/sql/TEST/t_sqloom3.cpp	Thu Apr 01 00:19:42 2010 +0300
+++ b/persistentstorage/sql/TEST/t_sqloom3.cpp	Wed Apr 14 17:46:32 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-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"
@@ -57,7 +57,7 @@
 				(void)RSqlDatabase::Delete(aDbFileName);
 				}
 			TInt err = KErrNone;
-			TInt failingAllocationNo = 0;
+			TInt failingAllocationNo = 0;//the real exit point of the OOM test. allocationNo is set maxAllocationNo times.
 			TInt allocationNo = 0;
 			TInt maxAllocationNo = TheOomTestType[i] == EServerSideTest ? KDoCreateDatabaseOomTestAllocLimitServer : KDoCreateDatabaseOomTestAllocLimitClient;
 			while(allocationNo < maxAllocationNo)