persistentstorage/sql/SRC/Client/SqlDbSession.cpp
branchRCL_3
changeset 8 fa9941cf3867
parent 0 08ec8eefde2f
child 11 211563e4b919
--- a/persistentstorage/sql/SRC/Client/SqlDbSession.cpp	Sat Feb 20 00:33:55 2010 +0200
+++ b/persistentstorage/sql/SRC/Client/SqlDbSession.cpp	Fri Mar 12 15:51:02 2010 +0200
@@ -303,7 +303,11 @@
 */
 TInt RSqlDbSession::Connect(TSqlSrvFunction aFunction, const TDesC& aDbFileName, const TDesC8& aSecurityPolicyData, const TDesC8* aConfig)
 	{
+#ifdef SYSLIBS_TEST
+    const TInt KDefaultMsgBufLen = 4;
+#else	
 	const TInt KDefaultMsgBufLen = 128;
+#endif	
 	iLastErrorMessage = HBufC::New(KDefaultMsgBufLen);
 	if(!iLastErrorMessage)
 		{